Skip to content

Commit e55684f

Browse files
[#patch](deps): Bump the actions-deps group with 4 updates (#298)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Edoardo Rosa <6991986+notdodo@users.noreply.github.com>
1 parent afce35a commit e55684f

3 files changed

Lines changed: 12 additions & 18 deletions

File tree

.github/workflows/docker-build-and-push.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,16 @@ on:
6161
default: '.'
6262
outputs:
6363
image_name:
64-
description: "Full image name (<registry>/<image>)."
64+
description: 'Full image name (<registry>/<image>).'
6565
value: ${{ jobs.build-and-push-image.outputs.image_name }}
6666
image_digest:
67-
description: "Pushed image digest (sha256:...), empty when push=false."
67+
description: 'Pushed image digest (sha256:...), empty when push=false.'
6868
value: ${{ jobs.build-and-push-image.outputs.image_digest }}
6969
image_ref:
70-
description: "Immutable image reference (<registry>/<image>@<digest>), empty when push=false."
70+
description: 'Immutable image reference (<registry>/<image>@<digest>), empty when push=false.'
7171
value: ${{ jobs.build-and-push-image.outputs.image_ref }}
7272
local_image_ref:
73-
description: "Local image reference used when push=false."
73+
description: 'Local image reference used when push=false.'
7474
value: ${{ jobs.build-and-push-image.outputs.local_image_ref }}
7575
secrets:
7676
registry-username:
@@ -179,14 +179,6 @@ jobs:
179179
echo "image_ref=${IMAGE_REF}"
180180
echo "local_image_ref=${LOCAL_IMAGE_REF}"
181181
} >> "${GITHUB_OUTPUT}"
182-
- name: Generate artifact attestation
183-
if: inputs.push
184-
uses: actions/attest-build-provenance@96278af6caaf10aea03fd8d33a09a777ca52d62f # v3.2.0
185-
with:
186-
subject-name: ${{ inputs.registry }}/${{ inputs.image }}
187-
subject-digest: ${{ steps.build.outputs.digest }}
188-
push-to-registry: true
189-
create-storage-record: ${{ startsWith(inputs.registry, 'ghcr.io') }}
190182
- name: Run Trivy Scan
191183
uses: aquasecurity/trivy-action@e368e328979b113139d6f9068e03accaed98a518 # v0.34.1
192184
if: inputs.scan-image
@@ -206,12 +198,14 @@ jobs:
206198
image-ref: ${{ format('{0}/{1}@{2}', inputs.registry, inputs.image, steps.build.outputs.digest) }}
207199
output: ${{ inputs.working-directory }}/sbom.spdx.json
208200
github-pat: ${{ secrets.GITHUB_TOKEN }}
209-
- name: Attest SBOM
210-
uses: actions/attest-sbom@4651f806c01d8637787e274ac3bdf724ef169f34 # v3.0.0
201+
- name: Generate artifact and SBOM attestation
211202
if: inputs.push
203+
uses: actions/attest@59d89421af93a897026c735860bf21b6eb4f7b26 # v4.1.0
212204
with:
213205
subject-name: ${{ inputs.registry }}/${{ inputs.image }}
214206
subject-digest: ${{ steps.build.outputs.digest }}
207+
push-to-registry: true
208+
create-storage-record: ${{ startsWith(inputs.registry, 'ghcr.io') }}
215209
sbom-path: ${{ inputs.working-directory }}/sbom.spdx.json
216210
- name: Install cosign
217211
uses: sigstore/cosign-installer@faadad0cce49287aee09b3a48701e75088a2c6ad # v4.0.0

.github/workflows/go-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
with:
8888
persist-credentials: false
8989
- name: Setup Go
90-
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
90+
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
9191
with:
9292
go-version-file: ${{ inputs.working-directory }}/go.mod
9393
cache-dependency-path: |
@@ -123,7 +123,7 @@ jobs:
123123
with:
124124
persist-credentials: false
125125
- name: Setup Go
126-
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
126+
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
127127
with:
128128
go-version-file: ${{ inputs.working-directory }}/go.mod
129129
cache-dependency-path: |

.github/workflows/terraform-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
path: ~/.terraform.d/plugin-cache
7272
key: terraform-providers-${{ hashFiles('**/.terraform.lock.hcl') }}
7373
restore-keys: terraform-providers-
74-
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
74+
- uses: hashicorp/setup-terraform@5e8dbf3c6d9deaf4193ca7a8fb23f2ac83bb6c85 # v4.0.0
7575
- name: Sops Binary Installer
7676
uses: mdgreenwald/mozilla-sops-action@d9714e521cbaecdae64a89d2fdd576dd2aa97056
7777
- name: Decrypt Secrets
@@ -158,7 +158,7 @@ jobs:
158158
path: ~/.terraform.d/plugin-cache
159159
key: terraform-providers-${{ hashFiles('**/.terraform.lock.hcl') }}
160160
restore-keys: terraform-providers-
161-
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
161+
- uses: hashicorp/setup-terraform@5e8dbf3c6d9deaf4193ca7a8fb23f2ac83bb6c85 # v4.0.0
162162
- name: Sops Binary Installer
163163
uses: mdgreenwald/mozilla-sops-action@d9714e521cbaecdae64a89d2fdd576dd2aa97056
164164
- name: Decrypt Secrets

0 commit comments

Comments
 (0)