File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343 if : needs.check-secrets.outputs.have-secrets == 'true'
4444
4545 steps :
46- - uses : actions/checkout@v3
46+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
4747
4848 - name : Set latest tag for non main branch
4949 if : github.ref_name != 'main'
@@ -54,15 +54,15 @@ jobs:
5454
5555 - name : Buildah Action
5656 id : build-openstack-baremetal-operator-agent
57- uses : redhat-actions/buildah-build@v2
57+ uses : redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # v2
5858 with :
5959 image : openstack-baremetal-operator-agent
6060 tags : ${{ env.latesttag }} ${{ github.sha }}
6161 containerfiles : |
6262 ./Dockerfile.agent
6363
6464 - name : Push agent To ${{ env.imageregistry }}
65- uses : redhat-actions/push-to-registry@v2
65+ uses : redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2
6666 with :
6767 image : ${{ steps.build-openstack-baremetal-operator-agent.outputs.image }}
6868 tags : ${{ steps.build-openstack-baremetal-operator-agent.outputs.tags }}
Original file line number Diff line number Diff line change @@ -20,29 +20,29 @@ jobs:
2020
2121 steps :
2222 - name : Checkout repository
23- uses : actions/checkout@v4
23+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2424
2525 # Initializes the CodeQL tools for scanning.
2626 - name : Initialize CodeQL
27- uses : github/codeql-action/init@v3
27+ uses : github/codeql-action/init@dd903d2e4f5405488e5ef1422510ee31c8b32357 # v3
2828 with :
2929 languages : ${{ matrix.language }}
3030 build-mode : autobuild
3131
3232 - name : Perform CodeQL Analysis
33- uses : github/codeql-action/analyze@v3
33+ uses : github/codeql-action/analyze@dd903d2e4f5405488e5ef1422510ee31c8b32357 # v3
3434 with :
3535 category : " /language:${{matrix.language}}"
3636
3737 - name : Run govulncheck
38- uses : golang/govulncheck-action@v1
38+ uses : golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee # v1
3939 with :
4040 go-version-input : 1.21
4141 go-package : ./...
4242 output-file : ' govulncheck.sarif'
4343 output-format : ' sarif'
4444
4545 - name : Upload SARIF file
46- uses : github/codeql-action/upload-sarif@v3
46+ uses : github/codeql-action/upload-sarif@dd903d2e4f5405488e5ef1422510ee31c8b32357 # v3
4747 with :
4848 sarif_file : govulncheck.sarif
Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ jobs:
1515 runs-on : ubuntu-latest
1616
1717 steps :
18- - uses : actions/checkout@v2
18+ - uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
1919
2020 - name : Tag image
21- uses : tinact/docker.image-retag@1.0.2
21+ uses : tinact/docker.image-retag@684702232e2a3c29b4e5ca25d7d80f927d255c64 # 1.0.3
2222 with :
2323 image_name : ${{ env.imagenamespace }}/
2424 image_old_tag : ${{ github.sha }}
2828 registry_password : ${{ secrets.QUAY_PASSWORD }}
2929
3030 - name : Tag -bundle image
31- uses : tinact/docker.image-retag@1.0.2
31+ uses : tinact/docker.image-retag@684702232e2a3c29b4e5ca25d7d80f927d255c64 # 1.0.3
3232 with :
3333 image_name : ${{ env.imagenamespace }}/-bundle
3434 image_old_tag : ${{ github.sha }}
3838 registry_password : ${{ secrets.QUAY_PASSWORD }}
3939
4040 - name : Tag -index image
41- uses : tinact/docker.image-retag@1.0.2
41+ uses : tinact/docker.image-retag@684702232e2a3c29b4e5ca25d7d80f927d255c64 # 1.0.3
4242 with :
4343 image_name : ${{ env.imagenamespace }}/-index
4444 image_old_tag : ${{ github.sha }}
4848 registry_password : ${{ secrets.QUAY_PASSWORD }}
4949
5050 - name : Tag -agent image
51- uses : tinact/docker.image-retag@1.0.2
51+ uses : tinact/docker.image-retag@684702232e2a3c29b4e5ca25d7d80f927d255c64 # 1.0.3
5252 with :
5353 image_name : ${{ env.imagenamespace }}/-agent
5454 image_old_tag : ${{ github.sha }}
You can’t perform that action at this time.
0 commit comments