File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -17,15 +17,13 @@ jobs:
17
17
- uses : actions/checkout@v3
18
18
- name : Setup QEMU
19
19
uses : docker/setup-qemu-action@v2
20
- with :
21
- platforms : all
22
20
- name : Setup Docker Buildx
23
21
id : buildx
24
22
uses : docker/setup-buildx-action@v2
25
23
with :
26
24
buildkitd-flags : " --debug"
27
25
- name : Build multi-arch container image
28
- uses : docker/build-push-action@v3
26
+ uses : docker/build-push-action@v4
29
27
with :
30
28
push : false
31
29
builder : ${{ steps.buildx.outputs.name }}
Original file line number Diff line number Diff line change 60
60
tags : |
61
61
type=raw,value=${{ steps.prep.outputs.VERSION }}
62
62
- name : Publish images
63
- uses : docker/build-push-action@v3
63
+ uses : docker/build-push-action@v4
64
64
with :
65
65
sbom : true
66
66
provenance : true
@@ -77,13 +77,13 @@ jobs:
77
77
docker buildx imagetools inspect ghcr.io/fluxcd/${{ env.CONTROLLER }}:${{ steps.prep.outputs.VERSION }}
78
78
docker pull docker.io/fluxcd/${{ env.CONTROLLER }}:${{ steps.prep.outputs.VERSION }}
79
79
docker pull ghcr.io/fluxcd/${{ env.CONTROLLER }}:${{ steps.prep.outputs.VERSION }}
80
- - uses : sigstore/cosign-installer@main
80
+ - uses : sigstore/cosign-installer@v3
81
81
- name : Sign images
82
82
env :
83
83
COSIGN_EXPERIMENTAL : 1
84
84
run : |
85
- cosign sign fluxcd/${{ env.CONTROLLER }}:${{ steps.prep.outputs.VERSION }}
86
- cosign sign ghcr.io/fluxcd/${{ env.CONTROLLER }}:${{ steps.prep.outputs.VERSION }}
85
+ cosign sign --yes fluxcd/${{ env.CONTROLLER }}:${{ steps.prep.outputs.VERSION }}
86
+ cosign sign --yes ghcr.io/fluxcd/${{ env.CONTROLLER }}:${{ steps.prep.outputs.VERSION }}
87
87
- name : Generate release artifacts
88
88
if : startsWith(github.ref, 'refs/tags/v')
89
89
run : |
94
94
- uses : anchore/sbom-action/download-syft@v0
95
95
- name : Create release and SBOM
96
96
if : startsWith(github.ref, 'refs/tags/v')
97
- uses : goreleaser/goreleaser-action@v3
97
+ uses : goreleaser/goreleaser-action@v4
98
98
with :
99
99
version : latest
100
100
args : release --release-notes=config/release/notes.md --rm-dist --skip-validate
You can’t perform that action at this time.
0 commit comments