4141 runs-on : ubuntu-latest
4242 steps :
4343
44- - uses : actions/checkout@v4
44+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v0.6.2
4545 with :
4646 ref : ${{ inputs.branch_name }}
4747
@@ -62,19 +62,19 @@ jobs:
6262 DOCKER_USERNAME : ${{ vars.DOCKERHUB_USERNAME }}
6363
6464 - name : Log in to Docker Hub
65- uses : docker/login-action@v3
65+ uses : docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
6666 with :
6767 username : ${{ vars.DOCKERHUB_USERNAME }}
6868 password : ${{ secrets.DOCKERHUB_PAT }}
6969
7070 - name : Gather metadata
7171 id : meta
72- uses : docker/metadata-action@v5
72+ uses : docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6.0.0
7373 with :
7474 images : ${{ vars.DOCKERHUB_USERNAME }}/mdq
7575
7676 - name : Build and push
77- uses : docker/build-push-action@v6
77+ uses : docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0
7878 with :
7979 context : .
8080 push : true
@@ -108,13 +108,13 @@ jobs:
108108 - name : rustc version
109109 run : rustc --version --verbose
110110
111- - uses : actions/checkout@v4
111+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v0.6.2
112112 with :
113113 ref : ${{ inputs.branch_name }}
114114
115115 - name : " Cache cargo"
116116 id : cache-cargo
117- uses : " actions/cache@v4 "
117+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
118118 with :
119119 path : |
120120 ~/.cargo/bin/
@@ -158,12 +158,12 @@ jobs:
158158 run : chmod +x "$BUILD_FILE_PATH"
159159
160160 - name : Attest Build Provenance
161- uses : actions/attest-build-provenance@v2
161+ uses : actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0
162162 with :
163163 subject-path : ${{ env.BUILD_FILE_PATH }}
164164
165165 - name : upload binary
166- uses : actions/upload-artifact@v4
166+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
167167 with :
168168 if-no-files-found : error
169169 name : mdq-${{ matrix.target }}
0 commit comments