@@ -45,22 +45,22 @@ jobs:
4545
4646 - name : Set up QEMU
4747 if : ${{ github.event_name != 'pull_request' }}
48- uses : docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3
48+ uses : docker/setup-qemu-action@v3
4949
5050 - name : Set up Docker Buildx
5151 if : ${{ github.event_name != 'pull_request' }}
52- uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3
52+ uses : docker/setup-buildx-action@v3
5353
5454 - name : Log in to Docker Hub
55- uses : docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
55+ uses : docker/login-action@v3
5656 # Only log in to Docker Hub if the event is a release
5757 if : ${{ inputs.environment == 'docker-publish' && github.event_name != 'pull_request' }}
5858 with :
5959 username : ${{ secrets.DOCKERHUB_USERNAME }}
6060 password : ${{ secrets.DOCKERHUB_TOKEN }}
6161
6262 - name : Log in to the Container registry
63- uses : docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
63+ uses : docker/login-action@v3
6464 if : ${{ github.event_name != 'pull_request' }}
6565 with :
6666 registry : ghcr.io
@@ -69,15 +69,15 @@ jobs:
6969
7070 - name : Extract metadata (tags, labels) for Docker
7171 id : meta
72- uses : docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5
72+ uses : docker/metadata-action@v5
7373 with :
7474 # default to ghcr.io for workflow_dispatch
7575 images : ${{ inputs.images || format('ghcr.io/{0}', github.repository) }}
7676 # use the branch + sha if workflow_dispatch
7777 tags : ${{ inputs.tags || format('type=raw,value={0}-{1}', github.ref_name, github.sha) }}
7878
7979 - name : Push to Registry(s)
80- uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
80+ uses : docker/build-push-action@v6
8181 with :
8282 context : .
8383 platforms : ${{ github.event_name != 'pull_request' && 'linux/amd64,linux/arm64' || 'linux/amd64' }}
8989 labels : ${{ steps.meta.outputs.labels }}
9090
9191 - name : Scan for vulnerabilities
92- uses : crazy-max/ghaction-container-scan@4d8e0acba576e46016cbd65b9ecfc604e85e3990 # v3
92+ uses : crazy-max/ghaction-container-scan@v3
9393 if : ${{ github.event_name == 'pull_request' || github.ref_name == 'master' }}
9494 with :
9595 image : ${{ fromJSON(steps.meta.outputs.json).tags[0] }}
0 commit comments