11name : Docker
22
3- # This workflow uses actions that are not certified by GitHub.
4- # They are provided by a third-party and are governed by
5- # separate terms of service, privacy policy, and support
6- # documentation.
7-
83on :
94 workflow_dispatch :
105 #
@@ -29,18 +24,17 @@ jobs:
2924
3025 steps :
3126 - name : Checkout repository
32- uses : actions/checkout@v2
27+ uses : actions/checkout@v3
3328
3429 - name : Set up QEMU
35- uses : docker/setup-qemu-action@v1
30+ uses : docker/setup-qemu-action@v3
3631
3732 - name : Set up Docker Buildx
38- uses : docker/setup-buildx-action@v1
33+ uses : docker/setup-buildx-action@v3
3934
4035 # https://github.com/docker/login-action
4136 - name : Login to GitHub Container Registry
42- if : github.event_name != 'pull_request'
43- uses : docker/login-action@v2
37+ uses : docker/login-action@v3
4438 with :
4539 registry : ${{ env.REGISTRY }}
4640 username : ${{ github.actor }}
@@ -49,13 +43,13 @@ jobs:
4943 # https://github.com/docker/metadata-action
5044 - name : Extract Docker metadata
5145 id : meta
52- uses : docker/metadata-action@v4
46+ uses : docker/metadata-action@v5
5347 with :
5448 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
5549
5650 # https://github.com/docker/build-push-action
5751 - name : Build and push Docker image
58- uses : docker/build-push-action@v3
52+ uses : docker/build-push-action@v5
5953 with :
6054 context : .
6155 file : ./docker/Dockerfile
0 commit comments