Skip to content

Commit

Permalink
fix artifact attestation
Browse files Browse the repository at this point in the history
  • Loading branch information
le0pard committed Jul 6, 2024
1 parent 8d68695 commit d99a03e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ RUN go mod download
COPY . ./

# Build the binary.
RUN go build -trimpath -ldflags="-s -w -X github.com/le0pard/postal_server/version.Version=$BUILD_VERSION -X github.com/le0pard/postal_server/version.GitCommit=$BUILD_GIT_COMMIT -X github.com/le0pard/postal_server/version.BuildTime=\"$(TZ=UTC date +"%Y-%m-%dT%H:%M:%S%z")\"" -v -o postal_server
RUN go build -trimpath -ldflags='-s -w -X github.com/le0pard/postal_server/version.Version=$BUILD_VERSION -X github.com/le0pard/postal_server/version.GitCommit=$BUILD_GIT_COMMIT -X github.com/le0pard/postal_server/version.BuildTime="$(TZ=UTC date +"%Y-%m-%dT%H:%M:%S%z")"' -v -o postal_server

EXPOSE 8000
# Run the web service on container startup.
Expand Down

0 comments on commit d99a03e

Please sign in to comment.