@@ -105,7 +105,7 @@ runs:
105
105
- name : GHCR Cleanup
106
106
if : inputs.keep_versions
107
107
continue-on-error : true # Stop fail if no versions to delete
108
- uses : actions/delete-package-versions@e5bc658cc4c965c472efe991f8beea3981499c55 # v5.0.0
108
+ uses : actions/delete-package-versions@v5.0.0
109
109
with :
110
110
package-name : " ${{ steps.vars.outputs.image_path }}"
111
111
package-type : " container"
@@ -153,17 +153,17 @@ runs:
153
153
tags : |
154
154
${{ inputs.tags }}
155
155
156
- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
156
+ - uses : actions/checkout@v5
157
157
with :
158
158
repository : ${{ inputs.repository }}
159
159
160
160
- name : Set up Docker Buildx
161
161
if : steps.build.outputs.triggered == 'true'
162
- uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3
162
+ uses : docker/setup-buildx-action@v3
163
163
164
164
- name : Log in to the Container registry
165
165
if : steps.build.outputs.triggered == 'true'
166
- uses : docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3
166
+ uses : docker/login-action@v3
167
167
with :
168
168
registry : ghcr.io
169
169
username : ${{ github.actor }}
@@ -172,7 +172,7 @@ runs:
172
172
- name : Build and push ${{ inputs.package }} Docker image
173
173
id : build_and_push
174
174
if : steps.build.outputs.triggered == 'true'
175
- uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
175
+ uses : docker/build-push-action@v6
176
176
with :
177
177
context : ${{ inputs.build_context || inputs.package }}
178
178
file : ${{ inputs.build_file || format('{0}/Dockerfile', inputs.package) }}
@@ -210,7 +210,7 @@ runs:
210
210
echo "sbom_spdx=sboms/${{ inputs.package }}-spdx.json" >> $GITHUB_OUTPUT
211
211
212
212
- name : Upload SBOMs
213
- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
213
+ uses : actions/upload-artifact@v4
214
214
if : steps.build.outputs.triggered == 'true' && inputs.sbom == 'true'
215
215
with :
216
216
name : sboms-${{ inputs.package }}
@@ -221,7 +221,7 @@ runs:
221
221
continue-on-error : true
222
222
id : attestation
223
223
if : steps.build.outputs.triggered == 'true'
224
- uses : actions/attest@daf44fb950173508f38bd2406030372c1d1162b1 # v3.0.0
224
+ uses : actions/attest@v3.0.0
225
225
with :
226
226
subject-name : ghcr.io/${{ github.event.repository.name }}/${{ inputs.package }}
227
227
subject-digest : ${{ steps.build_and_push.outputs.digest }}
@@ -237,7 +237,7 @@ runs:
237
237
# Action repo needs to be present for cleanup/tests
238
238
- name : Checkout local repo to make sure action.yml is present
239
239
if : github.repository != inputs.repository || failure()
240
- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
240
+ uses : actions/checkout@v5
241
241
242
242
- name : Print summary outputs
243
243
if : always() # Always run this step to summarize the build
0 commit comments