@@ -14,26 +14,26 @@ jobs:
1414 packages : write
1515 steps :
1616 - name : Checkout repository
17- uses : actions/checkout@v4
17+ uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
1818 - name : Get Package Version
1919 id : version
2020 run : |
2121 echo "::set-output name=package_version::$(cat package.json | jq -r '.version')"
2222 - name : Log in to the Container registry
23- uses : docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2
23+ uses : docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
2424 with :
2525 registry : ${{ env.REGISTRY }}
2626 username : ${{ github.actor }}
2727 password : ${{ secrets.GITHUB_TOKEN }}
2828 - name : Extract metadata (tags, labels) for Docker (UID2)
2929 id : meta-uid2
30- uses : docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175 # v4
30+ uses : docker/metadata-action@80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9 # v6.1.0
3131 with :
3232 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_UID2 }}
3333 tags : |
3434 type=sha,prefix=${{ steps.version.outputs.package_version }}-,format=short
3535 - name : Build and push Docker image (UID2)
36- uses : docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5
36+ uses : docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
3737 with :
3838 context : .
3939 file : Dockerfile_uid2
@@ -43,13 +43,13 @@ jobs:
4343 labels : ${{ steps.meta-uid2.outputs.labels }}
4444 - name : Extract metadata (tags, labels) for Docker (EUID)
4545 id : meta-euid
46- uses : docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175 # v4
46+ uses : docker/metadata-action@80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9 # v6.1.0
4747 with :
4848 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_EUID }}
4949 tags : |
5050 type=sha,prefix=${{ steps.version.outputs.package_version }}-,format=short
5151 - name : Build and push Docker image (EUID)
52- uses : docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5
52+ uses : docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
5353 with :
5454 context : .
5555 file : Dockerfile_euid
0 commit comments