1616 runs-on : ubuntu-latest
1717 steps :
1818 - name : Checkout
19- uses : actions/checkout@v3
19+ uses : actions/checkout@v4
2020
2121 - name : Build image
2222 run : |
@@ -57,12 +57,12 @@ jobs:
5757 runs-on : ubuntu-latest
5858 steps :
5959 - name : Checkout
60- uses : actions/checkout@v3
60+ uses : actions/checkout@v4
6161
6262 # Calculate the tags to be pussed to the registries.
6363 - name : Calculate image tag names
6464 id : calculatetags
65- uses : docker/metadata-action@v4
65+ uses : docker/metadata-action@v5
6666 with :
6767 images : |
6868 ${{ env.DOCKERHUB_OWNER }}/${{ env.REPOSITORY }}
@@ -74,30 +74,30 @@ jobs:
7474
7575 # https://github.com/docker/setup-qemu-action#usage
7676 - name : Set up QEMU
77- uses : docker/setup-qemu-action@v2
77+ uses : docker/setup-qemu-action@v3
7878
7979 # https://github.com/marketplace/actions/docker-setup-buildx
8080 - name : Set up Docker Buildx
81- uses : docker/setup-buildx-action@v2
81+ uses : docker/setup-buildx-action@v3
8282
8383 # https://github.com/docker/login-action#docker-hub
8484 - name : Login to Docker Hub
85- uses : docker/login-action@v2
85+ uses : docker/login-action@v3
8686 with :
8787 username : ${{ secrets.DOCKERHUB_USERNAME }}
8888 password : ${{ secrets.DOCKERHUB_TOKEN }}
8989
9090 # https://github.com/docker/login-action#github-container-registry
9191 - name : Login to GitHub Container Registry
92- uses : docker/login-action@v2
92+ uses : docker/login-action@v3
9393 with :
9494 registry : ghcr.io
9595 username : ${{ github.actor }}
9696 password : ${{ secrets.GITHUB_TOKEN }}
9797
9898 # https://github.com/docker/build-push-action#multi-platform-image
9999 - name : Build and publish to Docker Hub and Github registries
100- uses : docker/build-push-action@v3
100+ uses : docker/build-push-action@v5
101101 with :
102102 context : .
103103 file : Dockerfile
@@ -108,8 +108,8 @@ jobs:
108108 # https://github.com/peter-evans/dockerhub-description
109109 # Note that we only update the description with the master branch version.
110110 - name : Set Docker Hub description from README.md
111- if : github.ref == 'refs/heads/master '
112- uses : peter-evans/dockerhub-description@v3
111+ if : github.ref == 'refs/heads/main '
112+ uses : peter-evans/dockerhub-description@v4
113113 with :
114114 username : ${{ secrets.DOCKERHUB_USERNAME }}
115115 password : ${{ secrets.DOCKERHUB_TOKEN }}
0 commit comments