chore: update attest to 0.5.1
- also set user agent in context
This commit is contained in:
committed by
James Carnegie
parent
eeeceddac4
commit
6b99024a27
@@ -19,10 +19,12 @@ RUN --mount=type=secret,id=GITHUB_TOKEN <<EOT
|
||||
EOT
|
||||
# ---
|
||||
|
||||
ARG VERSION="dev"
|
||||
|
||||
RUN --mount=type=bind,source=.,target=/app \
|
||||
--mount=type=cache,target=$GOPATH/pkg/mod \
|
||||
--mount=type=cache,target=/root/.cache/go-build \
|
||||
go build -o /bin/attest main.go
|
||||
go build -ldflags "-X main.version=$VERSION" -o /bin/attest main.go
|
||||
|
||||
FROM ${BASEIMAGE} AS production
|
||||
|
||||
|
||||
Reference in New Issue
Block a user