29
29
packages : write # for pushing and signing container images.
30
30
steps :
31
31
- name : Checkout
32
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
32
+ uses : actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
33
33
- name : Setup Kustomize
34
34
uses : fluxcd/pkg/actions/kustomize@main
35
35
- name : Prepare
@@ -45,21 +45,21 @@ jobs:
45
45
uses : docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0
46
46
- name : Setup Docker Buildx
47
47
id : buildx
48
- uses : docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0 .0
48
+ uses : docker/setup-buildx-action@2b51285047da1547ffb1b2203d8be4c0af6b1f20 # v3.2 .0
49
49
- name : Login to GitHub Container Registry
50
- uses : docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0 .0
50
+ uses : docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3.1 .0
51
51
with :
52
52
registry : ghcr.io
53
53
username : fluxcdbot
54
54
password : ${{ secrets.GHCR_TOKEN }}
55
55
- name : Login to Docker Hub
56
- uses : docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0 .0
56
+ uses : docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3.1 .0
57
57
with :
58
58
username : fluxcdbot
59
59
password : ${{ secrets.DOCKER_FLUXCD_PASSWORD }}
60
60
- name : Generate images meta
61
61
id : meta
62
- uses : docker/metadata-action@dbef88086f6cef02e264edb7dbf63250c17cef6c # v5.5.0
62
+ uses : docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1
63
63
with :
64
64
images : |
65
65
fluxcd/${{ env.CONTROLLER }}
68
68
type=raw,value=${{ steps.prep.outputs.VERSION }}
69
69
- name : Publish images
70
70
id : build-push
71
- uses : docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1 .0
71
+ uses : docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3 .0
72
72
with :
73
73
sbom : true
74
74
provenance : true
79
79
platforms : linux/amd64,linux/arm/v7,linux/arm64
80
80
tags : ${{ steps.meta.outputs.tags }}
81
81
labels : ${{ steps.meta.outputs.labels }}
82
- - uses : sigstore/cosign-installer@9614fae9e5c5eddabb09f90a270fcb487c9f7149 # v3.3 .0
82
+ - uses : sigstore/cosign-installer@e1523de7571e31dbe865fd2e80c5c7c23ae71eb4 # v3.4 .0
83
83
- name : Sign images
84
84
env :
85
85
COSIGN_EXPERIMENTAL : 1
92
92
mkdir -p config/release
93
93
kustomize build ./config/crd > ./config/release/${{ env.CONTROLLER }}.crds.yaml
94
94
kustomize build ./config/manager > ./config/release/${{ env.CONTROLLER }}.deployment.yaml
95
- - uses : anchore/sbom-action/download-syft@c6aed38a4323b393d05372c58a74c39ae8386d02 # v0.15.6
95
+ - uses : anchore/sbom-action/download-syft@ab5d7b5f48981941c4c5d6bf33aeb98fe3bae38c # v0.15.10
96
96
- name : Create release and SBOM
97
97
id : run-goreleaser
98
98
if : startsWith(github.ref, 'refs/tags/v')
@@ -123,7 +123,7 @@ jobs:
123
123
id-token : write # for creating OIDC tokens for signing.
124
124
contents : write # for uploading attestations to GitHub releases.
125
125
if : startsWith(github.ref, 'refs/tags/v')
126
- uses : slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.9 .0
126
+ uses : slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.10 .0
127
127
with :
128
128
provenance-name : " provenance.intoto.jsonl"
129
129
base64-subjects : " ${{ needs.release.outputs.hashes }}"
@@ -136,7 +136,7 @@ jobs:
136
136
id-token : write # for creating OIDC tokens for signing.
137
137
packages : write # for uploading attestations.
138
138
if : startsWith(github.ref, 'refs/tags/v')
139
- uses : slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@v1.9 .0
139
+ uses : slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@v1.10 .0
140
140
with :
141
141
image : ${{ needs.release.outputs.image_url }}
142
142
digest : ${{ needs.release.outputs.image_digest }}
@@ -151,7 +151,7 @@ jobs:
151
151
id-token : write # for creating OIDC tokens for signing.
152
152
packages : write # for uploading attestations.
153
153
if : startsWith(github.ref, 'refs/tags/v')
154
- uses : slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@v1.9 .0
154
+ uses : slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@v1.10 .0
155
155
with :
156
156
image : ghcr.io/${{ needs.release.outputs.image_url }}
157
157
digest : ${{ needs.release.outputs.image_digest }}
0 commit comments