3030 packages : write # needed for ghcr access
3131 steps :
3232 - name : Checkout
33- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
33+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3434 - name : Setup Kustomize
3535 uses : fluxcd/pkg/actions/kustomize@main
3636 - name : Prepare
@@ -42,38 +42,38 @@ jobs:
4242 fi
4343 echo "version=${VERSION}" >> $GITHUB_OUTPUT
4444 - name : Setup Go
45- uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3 .0
45+ uses : actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0 .0
4646 with :
4747 go-version : 1.24.x
4848 cache-dependency-path : |
4949 **/go.sum
5050 **/go.mod
51- - uses : docker/setup-qemu-action@4574d27a4764455b42196d70a065bc6853246a25 # v3.4 .0
52- - uses : docker/setup-buildx-action@f7ce87c1d6bead3e36075b2ce75da1f6cc28aaca # v3.9.0
53- - uses : sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a # v3.8.1
54- - uses : anchore/sbom-action/download-syft@f325610c9f50a54015d37c8d16cb3b0e2c8f4de0 # v0.18.0
51+ - uses : docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6 .0
52+ - uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
53+ - uses : sigstore/cosign-installer@d58896d6a1865668819e1d91763c7751a165e159 # v3.9.2
54+ - uses : anchore/sbom-action/download-syft@da167eac915b4e86f08b264dbdbc867b61be6f0c # v0.20.5
5555 - name : Docker login ghcr.io
56- uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3 .0
56+ uses : docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5 .0
5757 with :
5858 registry : ghcr.io
5959 username : fluxcdbot
6060 password : ${{ secrets.GHCR_TOKEN }}
6161 - name : Docker login docker.io
62- uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3 .0
62+ uses : docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5 .0
6363 with :
6464 username : fluxcdbot
6565 password : ${{ secrets.DOCKER_FLUXCD_PASSWORD }}
6666 - name : Docker meta
6767 id : meta
68- uses : docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5.6.1
68+ uses : docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
6969 with :
7070 images : |
7171 fluxcd/${{ env.CONTROLLER }}
7272 ghcr.io/fluxcd/${{ env.CONTROLLER }}
7373 tags : |
7474 type=raw,value=${{ steps.prep.outputs.version }}
7575 - name : Docker push
76- uses : docker/build-push-action@0adf9959216b96bec444f325f1e493d4aa344497 # v6.14 .0
76+ uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18 .0
7777 id : build-push
7878 with :
7979 sbom : true
9494 - name : GoReleaser publish signed SBOM
9595 id : run-goreleaser
9696 if : startsWith(github.ref, 'refs/tags/v')
97- uses : goreleaser/goreleaser-action@90a3faa9d0182683851fbfa97ca1a2cb983bfca3 # v6.2.1
97+ uses : goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0
9898 with :
9999 version : latest
100100 args : release --clean --skip=validate
@@ -121,7 +121,7 @@ jobs:
121121 actions : read # To read the workflow path.
122122 id-token : write # To sign the provenance.
123123 contents : write # To add assets to the release.
124- uses : slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.0 .0
124+ uses : slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.1 .0
125125 with :
126126 base64-subjects : " ${{ needs.release.outputs.hashes }}"
127127 upload-assets : true
@@ -132,7 +132,7 @@ jobs:
132132 actions : read # for detecting the Github Actions environment.
133133 id-token : write # for creating OIDC tokens for signing.
134134 packages : write # for uploading attestations.
135- uses : slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@v2.0 .0
135+ uses : slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@v2.1 .0
136136 with :
137137 image : ${{ needs.release.outputs.image_url }}
138138 digest : ${{ needs.release.outputs.image_digest }}
@@ -146,7 +146,7 @@ jobs:
146146 actions : read # for detecting the Github Actions environment.
147147 id-token : write # for creating OIDC tokens for signing.
148148 packages : write # for uploading attestations.
149- uses : slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@v2.0 .0
149+ uses : slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@v2.1 .0
150150 with :
151151 image : ghcr.io/${{ needs.release.outputs.image_url }}
152152 digest : ${{ needs.release.outputs.image_digest }}
0 commit comments