We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 208167a commit d708b52Copy full SHA for d708b52
Dockerfile
@@ -15,8 +15,8 @@ ARG DRONE_COMMIT
15
# Build application
16
RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -a -o /go/bin/httptest \
17
-ldflags "-extldflags \"-static\" \
18
- -X main.BuildBranch=${{ env.branch }} \
19
- -X main.BuildCommit=${{ env.commit_sha }} \
+ -X main.BuildBranch=${ env.branch } \
+ -X main.BuildCommit=${ env.commit_sha } \
20
-X main.BuildTime=$(date -Iseconds)"
21
22
# We can't use distroless because some teams need to add a bearer token to
0 commit comments