6565 if : needs.check-secrets.outputs.missing-secrets != 'true'
6666
6767 steps :
68- - uses : actions/checkout@v4
68+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
6969
7070 - name : Set latest tag for non main branch
7171 if : github.ref_name != 'main'
@@ -77,15 +77,15 @@ jobs:
7777
7878 - name : Buildah Action
7979 id : build-operator
80- uses : redhat-actions/buildah-build@v2
80+ uses : redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # v2
8181 with :
8282 image : ${{ inputs.operator_name }}-operator
8383 tags : ${{ env.latesttag }} ${{ github.sha }}
8484 containerfiles : |
8585 ./Dockerfile
8686
8787 - name : Push ${{ inputs.operator_name }}-operator To ${{ env.imageregistry }}
88- uses : redhat-actions/push-to-registry@v2
88+ uses : redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2
8989 with :
9090 image : ${{ steps.build-operator.outputs.image }}
9191 tags : ${{ steps.build-operator.outputs.tags }}
@@ -106,7 +106,7 @@ jobs:
106106 GITHUB_SHA : ${{ github.sha }}
107107
108108 - name : Push tag with digest ${{ env.OPERATOR_IMAGE_DIGEST }}
109- uses : redhat-actions/push-to-registry@v2
109+ uses : redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2
110110 with :
111111 image : ${{ steps.build-operator.outputs.image }}
112112 tags : ${{ env.OPERATOR_IMAGE_DIGEST }}
@@ -121,29 +121,29 @@ jobs:
121121
122122 steps :
123123 - name : Install Go
124- uses : actions/setup-go@v4
124+ uses : actions/setup-go@7b8cf10d4e4a01d4992d18a89f4d7dc5a3e6d6f4 # v4
125125 with :
126126 go-version : ${{ inputs.go_version }}
127127 cache : false
128128
129129 - name : Checkout ${{ inputs.operator_name }}-operator repository
130- uses : actions/checkout@v4
130+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
131131
132132 - name : Install operator-sdk
133- uses : redhat-actions/openshift-tools-installer@v1
133+ uses : redhat-actions/openshift-tools-installer@144527c7d98999f2652264c048c7a9bd103f8a82 # v1
134134 with :
135135 source : github
136136 operator-sdk : ${{ inputs.operator_sdk_version }}
137137
138138 - name : Log in to Quay Registry
139- uses : redhat-actions/podman-login@v1
139+ uses : redhat-actions/podman-login@4934294ad0449894bcd1e9f191899d7292469603 # v1
140140 with :
141141 registry : ${{ env.imageregistry }}
142142 username : ${{ secrets.QUAY_USERNAME }}
143143 password : ${{ secrets.QUAY_PASSWORD }}
144144
145145 - name : Log in to Red Hat Registry
146- uses : redhat-actions/podman-login@v1
146+ uses : redhat-actions/podman-login@4934294ad0449894bcd1e9f191899d7292469603 # v1
147147 with :
148148 registry : registry.redhat.io
149149 username : ${{ secrets.REDHATIO_USERNAME }}
@@ -169,14 +169,14 @@ jobs:
169169
170170 - name : Build operator-bundle using buildah
171171 id : build-operator-bundle
172- uses : redhat-actions/buildah-build@v2
172+ uses : redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # v2
173173 with :
174174 image : ${{ inputs.operator_name }}-operator-bundle
175175 tags : ${{ env.latesttag }} ${{ github.sha }}
176176 containerfiles : ${{ inputs.bundle_dockerfile }}
177177
178178 - name : Push ${{ inputs.operator_name }}-operator To ${{ env.imageregistry }}
179- uses : redhat-actions/push-to-registry@v2
179+ uses : redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2
180180 with :
181181 image : ${{ steps.build-operator-bundle.outputs.image }}
182182 tags : ${{ steps.build-operator-bundle.outputs.tags }}
@@ -197,7 +197,7 @@ jobs:
197197 GITHUB_SHA : ${{ github.sha }}
198198
199199 - name : Push tag with digest ${{ env.OPERATOR_BUNDLE_IMAGE_DIGEST }}
200- uses : redhat-actions/push-to-registry@v2
200+ uses : redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2
201201 with :
202202 image : ${{ steps.build-operator-bundle.outputs.image }}
203203 tags : ${{ env.OPERATOR_BUNDLE_IMAGE_DIGEST }}
@@ -212,13 +212,13 @@ jobs:
212212
213213 steps :
214214 - name : Install Go
215- uses : actions/setup-go@v4
215+ uses : actions/setup-go@7b8cf10d4e4a01d4992d18a89f4d7dc5a3e6d6f4 # v4
216216 with :
217217 go-version : ${{ inputs.go_version }}
218218 cache : false
219219
220220 - name : Checkout ${{ inputs.operator_name }}-operator repository
221- uses : actions/checkout@v4
221+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
222222
223223 - name : Set latest tag for non main branch
224224 if : github.ref_name != 'main'
@@ -229,20 +229,20 @@ jobs:
229229 echo "latesttag=${latesttag@L}" >> $GITHUB_ENV
230230
231231 - name : Install opm
232- uses : redhat-actions/openshift-tools-installer@v1
232+ uses : redhat-actions/openshift-tools-installer@144527c7d98999f2652264c048c7a9bd103f8a82 # v1
233233 with :
234234 source : github
235235 opm : ' latest'
236236
237237 - name : Log in to Quay Registry
238- uses : redhat-actions/podman-login@v1
238+ uses : redhat-actions/podman-login@4934294ad0449894bcd1e9f191899d7292469603 # v1
239239 with :
240240 registry : ${{ env.imageregistry }}
241241 username : ${{ secrets.QUAY_USERNAME }}
242242 password : ${{ secrets.QUAY_PASSWORD }}
243243
244244 - name : Log in to Red Hat Registry
245- uses : redhat-actions/podman-login@v1
245+ uses : redhat-actions/podman-login@4934294ad0449894bcd1e9f191899d7292469603 # v1
246246 with :
247247 registry : registry.redhat.io
248248 username : ${{ secrets.REDHATIO_USERNAME }}
@@ -298,7 +298,7 @@ jobs:
298298 CONTAINERS_REGISTRIES_CONF : /dev/null
299299
300300 - name : Push ${{ inputs.operator_name }}-operator-index To ${{ env.imageregistry }}
301- uses : redhat-actions/push-to-registry@v2
301+ uses : redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2
302302 with :
303303 image : ${{ inputs.operator_name }}-operator-index
304304 tags : ${{ env.latesttag }} ${{ github.sha }}
@@ -319,7 +319,7 @@ jobs:
319319 GITHUB_SHA : ${{ github.sha }}
320320
321321 - name : Push tag with digest ${{ env.OPERATOR_INDEX_IMAGE_DIGEST }}
322- uses : redhat-actions/push-to-registry@v2
322+ uses : redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2
323323 with :
324324 image : ${{ inputs.operator_name }}-operator-index
325325 tags : ${{ env.OPERATOR_INDEX_IMAGE_DIGEST }}
0 commit comments