File tree 3 files changed +10
-8
lines changed
3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 54
54
55
55
- name : Build
56
56
id : build_image
57
- uses : redhat-actions/buildah-build@v2
57
+ uses : redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # v2.13
58
58
with :
59
59
context : ' .'
60
60
containerfiles : |
93
93
run : echo "current_version=${CURRENT_VERSION}"
94
94
95
95
- name : Log in to ghcr.io
96
- uses : redhat-actions/podman-login@v1
96
+ uses : redhat-actions/podman-login@4934294ad0449894bcd1e9f191899d7292469603 # v1.7
97
97
with :
98
98
username : ${{ github.actor }}
99
99
password : ${{ github.token }}
@@ -107,14 +107,14 @@ jobs:
107
107
108
108
- name : Publish
109
109
id : push
110
- uses : redhat-actions/push-to-registry@v2
110
+ uses : redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2.8
111
111
with :
112
112
image : ${{ steps.build_image.outputs.image }}
113
113
tags : ${{ steps.current-version.outputs.value }} ${{ steps.build_image.outputs.tags }}
114
114
registry : ${{ env.IMAGE_REGISTRY }}
115
115
116
116
- name : Generate attestation for images
117
- uses : actions/attest-build-provenance@v2
117
+ uses : actions/attest-build-provenance@db473fddc028af60658334401dc6fa3ffd8669fd # v2.3.0
118
118
with :
119
119
subject-name : ${{ env.IMAGE_REGISTRY }}/${{ steps.build_image.outputs.image }}
120
120
subject-digest : ${{ steps.push.outputs.digest }}
Original file line number Diff line number Diff line change 50
50
51
51
- name : Build
52
52
id : build_image
53
- uses : redhat-actions/buildah-build@v2
53
+ uses : redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # 2.13
54
54
with :
55
55
context : ' .'
56
56
containerfiles : |
85
85
echo "Collected version: $version"
86
86
87
87
- name : Log in to ghcr.io
88
- uses : redhat-actions/podman-login@v1
88
+ uses : redhat-actions/podman-login@4934294ad0449894bcd1e9f191899d7292469603 # v1.7
89
89
with :
90
90
username : ${{ github.actor }}
91
91
password : ${{ github.token }}
@@ -101,15 +101,15 @@ jobs:
101
101
102
102
- name : Publish
103
103
id : push
104
- uses : redhat-actions/push-to-registry@v2
104
+ uses : redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2.8
105
105
with :
106
106
image : ${{ steps.build_image.outputs.image }}
107
107
tags : ${{ steps.current-version.outputs.value }} ${{ steps.build_image.outputs.tags }}
108
108
registry : ${{ env.IMAGE_REGISTRY }}
109
109
if : inputs.publish-image
110
110
111
111
- name : Generate attestation for images
112
- uses : actions/attest-build-provenance@v2
112
+ uses : actions/attest-build-provenance@db473fddc028af60658334401dc6fa3ffd8669fd # v2.3.0
113
113
with :
114
114
subject-name : ${{ env.IMAGE_REGISTRY }}/${{ steps.build_image.outputs.image }}
115
115
subject-digest : ${{ steps.push.outputs.digest }}
Original file line number Diff line number Diff line change 2
2
unpinned-uses :
3
3
config :
4
4
policies :
5
+ actions/attest-build-provenance : hash-pin
5
6
actions/* : ref-pin
7
+ redhat-actions/* : hash-pin
6
8
" * " : ref-pin
You can’t perform that action at this time.
0 commit comments