@@ -36,12 +36,12 @@ jobs:
3636 runs-on : ubuntu-latest
3737 steps :
3838 - name : Checkout code
39- uses : actions/checkout@v5
39+ uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
4040 with :
4141 fetch-depth : 0
4242 ref : ${{ github.ref_name}}
4343 - name : Read secrets
44- uses : rancher-eio/read-vault-secrets@main
44+ uses : rancher-eio/read-vault-secrets@0da85151ad1f19ed7986c41587e45aac1ace74b6 # v3
4545 with :
4646 secrets : |
4747 secret/data/github/repo/${{ github.repository }}/dockerhub/${{ github.repository_owner }}/credentials username | PUBLIC_REGISTRY_USERNAME ;
5050 secret/data/github/repo/${{ github.repository }}/rancher-prime-registry/credentials username | PRIME_REGISTRY_USERNAME ;
5151 secret/data/github/repo/${{ github.repository }}/rancher-prime-registry/credentials password | PRIME_REGISTRY_PASSWORD
5252 - name : Publish images
53- uses : rancher/ecm-distro-tools/actions/publish-image@master
53+ uses : rancher/ecm-distro-tools/actions/publish-image@575bb831c67edd950bfedb59d41dd127bd0005d6 # v0.65.2
5454 with :
5555 image : gke-operator
5656 tag : ${{ github.ref_name }}${{ matrix.tag-suffix }}
7575 needs : publish-images
7676 steps :
7777 - name : Checkout code
78- uses : actions/checkout@v5
78+ uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
7979 with :
8080 fetch-depth : 0
8181 ref : ${{ github.ref_name }}
8484 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # required for creating GH release
8585 GORELEASER_CURRENT_TAG : ${{ github.ref_name }} # specify the tag to be released
8686 id : goreleaser
87- uses : goreleaser/goreleaser-action@v7
87+ uses : goreleaser/goreleaser-action@ec59f474b9834571250b370d4735c50f8e2d1e29 # v7
8888 with :
8989 distribution : goreleaser
9090 version : " ~> v2"
@@ -150,13 +150,13 @@ jobs:
150150 if : github.event_name == 'push' && github.ref_type == 'tag'
151151 steps :
152152 - name : Read App Secrets
153- uses : rancher-eio/read-vault-secrets@main
153+ uses : rancher-eio/read-vault-secrets@0da85151ad1f19ed7986c41587e45aac1ace74b6 # v3
154154 with :
155155 secrets : |
156156 secret/data/github/repo/${{ github.repository }}/github/workflow-dispatcher/app-credentials appId | APP_ID ;
157157 secret/data/github/repo/${{ github.repository }}/github/workflow-dispatcher/app-credentials privateKey | PRIVATE_KEY
158158 - name : Create App Token
159- uses : actions/create-github-app-token@v1
159+ uses : actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1
160160 id : app-token
161161 with :
162162 app-id : ${{ env.APP_ID }}
0 commit comments