@@ -21,13 +21,13 @@ jobs:
2121 runs-on : ubuntu-latest
2222
2323 steps :
24- - uses : actions/checkout@v4
24+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2525
26- - uses : actions/setup-node@v4
26+ - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
2727 with :
2828 node-version : 17.x
2929
30- - uses : actions/cache@v4
30+ - uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
3131 with :
3232 path : |
3333 ~/.npm
5050 mv dist/${{ env.ARTIFACT_NAME }} .
5151
5252 - name : Upload internal artifacts
53- uses : actions/upload-artifact@v4
53+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
5454 with :
5555 name : ${{ env.ARTIFACT_NAME }}
5656 path : ${{ github.workspace }}/${{ env.ARTIFACT_NAME }}
@@ -61,30 +61,30 @@ jobs:
6161 needs : build
6262
6363 steps :
64- - uses : actions/checkout@v4
64+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6565 with :
6666 sparse-checkout : |
6767 Dockerfile
6868
6969 - name : Download internal artifacts
70- uses : actions/download-artifact@v4
70+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
7171 with :
7272 name : ${{ env.ARTIFACT_NAME }}
7373
7474 - name : Extract artifacts
7575 run : unzip ${{ env.ARTIFACT_NAME }} -d dist
7676
7777 - name : Set up Docker Buildx
78- uses : docker/setup-buildx-action@v3
78+ uses : docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
7979
8080 - name : Log in to Container Registry
81- uses : docker/login-action@v3
81+ uses : docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
8282 with :
8383 registry : ${{ env.REGISTRY }}
8484 username : ${{ github.actor }}
8585 password : ${{ secrets.GITHUB_TOKEN }}
8686
87- - uses : oprypin/find-latest-tag@v1
87+ - uses : oprypin/find-latest-tag@dd2729fe78b0bb55523ae2b2a310c6773a652bd1 # v1.1.2
8888 id : latest-tag
8989 with :
9090 repository : ${{ github.repository }}
9393
9494 - name : Extract metadata (tags, labels) for Docker
9595 id : meta
96- uses : docker/metadata-action@v5
96+ uses : docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6.0.0
9797 with :
9898 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
9999 flavor : |
@@ -108,7 +108,7 @@ jobs:
108108 type=semver,pattern={{major}}.{{minor}}.{{patch}}
109109
110110 - name : Build image
111- uses : docker/build-push-action@v6
111+ uses : docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
112112 with :
113113 context : .
114114 push : true
@@ -121,12 +121,12 @@ jobs:
121121
122122 steps :
123123 - name : Download internal artifacts
124- uses : actions/download-artifact@v4
124+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
125125 with :
126126 name : ${{ env.ARTIFACT_NAME }}
127127
128128 - name : Upload artifacts to tag
129- uses : svenstaro/upload-release-action@v2
129+ uses : svenstaro/upload-release-action@29e53e917877a24fad85510ded594ab3c9ca12de # 2.11.5
130130 with :
131131 repo_token : ${{ secrets.GITHUB_TOKEN }}
132132 file : ${{ env.ARTIFACT_NAME }}
0 commit comments