Merge pull request #1009 from fluxcd/container-sbom

build: Enable SBOM and SLSA Provenance
This commit is contained in:
Stefan Prodan 2023-01-30 13:39:04 +02:00 committed by GitHub
commit b9986fab5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -62,6 +62,8 @@ jobs:
- name: Publish images
uses: docker/build-push-action@v3
with:
sbom: true
provenance: true
push: true
builder: ${{ steps.buildx.outputs.name }}
context: .

View File

@ -61,7 +61,7 @@ RUN export CGO_LDFLAGS="-static -fuse-ld=lld" && \
# Ensure that the binary was cross-compiled correctly to the target platform.
RUN xx-verify --static /source-controller
FROM alpine:3.16
FROM alpine:3.17
ARG TARGETPLATFORM
RUN apk --no-cache add ca-certificates \