Add workflow to publish Docker image to dockerhub

This commit is contained in:
Ken Hibino
2021-04-08 07:07:36 -07:00
parent 20e46b6f2a
commit 8a0e8dfdf5
2 changed files with 45 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ RUN go mod download
COPY . .
# Copy frontend static files from /static to the root folder of the backend container.
COPY --from=frontend ["/static/build", "/ui/build"]
COPY --from=frontend ["/static/build", "ui/build"]
# Set necessary environmet variables needed for the image and build the server.
ENV CGO_ENABLED=0 GOOS=linux GOARCH=amd64