File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ jobs:
125125 if : startsWith(github.ref, 'refs/tags/v')
126126 with :
127127 version : latest
128- args : release --release-notes=notes.md --clean --skip- validate
128+ args : release --release-notes=notes.md --clean --skip= validate
129129 env :
130130 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
131131 - name : Generate SLSA metadata
Original file line number Diff line number Diff line change 1- FROM golang:1.23-alpine as builder
1+ ARG GO_VERSION=1.23
2+ ARG XX_VERSION=1.4.0
3+
4+ FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
5+ FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-alpine as builder
6+
7+ # copy build utilities
8+ COPY --from=xx / /
29
310ARG TARGETPLATFORM
411ARG REVISON
@@ -17,7 +24,8 @@ COPY cmd/ cmd/
1724COPY pkg/ pkg/
1825
1926# build
20- RUN CGO_ENABLED=0 go build \
27+ ENV CGO_ENABLED=0
28+ RUN xx-go build \
2129 -ldflags "-s -w -X github.com/fluxcd/flagger/pkg/version.REVISION=${REVISON}" \
2230 -a -o flagger ./cmd/flagger
2331
You can’t perform that action at this time.
0 commit comments