Skip to content
This repository was archived by the owner on Mar 19, 2026. It is now read-only.

Commit f053a09

Browse files
committed
Remove actions_ref from shared workflows
1 parent c1ecf72 commit f053a09

4 files changed

Lines changed: 3 additions & 13 deletions

File tree

.github/workflows/multiarch-image-build-sign-provenance-SLSA.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ name: Build Multi-Arch Image With Signature and Provenance SLSA
2323
description: Index digest for arm64 build.
2424
required: true
2525
type: string
26-
actions_ref:
27-
description: The version of github-actions
28-
type: string
29-
required: true
3026

3127
jobs:
3228

@@ -43,7 +39,7 @@ jobs:
4339
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4440
with:
4541
repository: aicage/github-actions
46-
ref: ${{ inputs.actions_ref }}
42+
ref: ${{ github.workflow_sha }}
4743
path: .github-actions
4844

4945
- name: Read image platform digest (amd64)
@@ -115,7 +111,7 @@ jobs:
115111
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
116112
with:
117113
repository: aicage/github-actions
118-
ref: ${{ inputs.actions_ref }}
114+
ref: ${{ github.workflow_sha }}
119115
path: .github-actions
120116

121117
- name: Log in to Docker Registry

.github/workflows/multiarch-image-build-sign-provenance.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ name: Build Multi-Arch Image With Signature and Provenance
2323
description: Index digest for arm64 build.
2424
required: true
2525
type: string
26-
actions_ref:
27-
description: The version of github-actions
28-
type: string
29-
required: true
3026

3127
jobs:
3228

@@ -40,7 +36,7 @@ jobs:
4036
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4137
with:
4238
repository: aicage/github-actions
43-
ref: ${{ inputs.actions_ref }}
39+
ref: ${{ github.workflow_sha }}
4440
path: .github-actions
4541

4642
- name: Log in to Docker Registry

.github/workflows/test-build-SLSA.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,5 +136,4 @@ jobs:
136136
purpose_tag: ${{ needs.set-globals.outputs.PURPOSE_TAG }}
137137
index_digest_amd64: ${{ needs.build.outputs.INDEX_DIGEST_amd64 }}
138138
index_digest_arm64: ${{ needs.build.outputs.INDEX_DIGEST_arm64 }}
139-
actions_ref: ${{ github.ref }}
140139
secrets: inherit

.github/workflows/test-build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,5 +136,4 @@ jobs:
136136
purpose_tag: ${{ needs.set-globals.outputs.PURPOSE_TAG }}
137137
index_digest_amd64: ${{ needs.build.outputs.INDEX_DIGEST_amd64 }}
138138
index_digest_arm64: ${{ needs.build.outputs.INDEX_DIGEST_arm64 }}
139-
actions_ref: ${{ github.ref }}
140139
secrets: inherit

0 commit comments

Comments
 (0)