Skip to content

Commit 77e6b07

Browse files
committed
Bump to actions/checkout@v4 and other docker (nodejs 12) actions
All them use nodejs 16 that is deprecated, so bumping to$a. actual ones
1 parent 900fed5 commit 77e6b07

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/test_buildx_and_publish.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
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 }}
@@ -75,30 +75,30 @@ jobs:
7575
7676
# https://github.com/docker/setup-qemu-action#usage
7777
- name: Set up QEMU
78-
uses: docker/setup-qemu-action@v2
78+
uses: docker/setup-qemu-action@v3
7979

8080
# https://github.com/marketplace/actions/docker-setup-buildx
8181
- name: Set up Docker Buildx
82-
uses: docker/setup-buildx-action@v2
82+
uses: docker/setup-buildx-action@v3
8383

8484
# https://github.com/docker/login-action#docker-hub
8585
- name: Login to Docker Hub
86-
uses: docker/login-action@v2
86+
uses: docker/login-action@v3
8787
with:
8888
username: ${{ secrets.DOCKERHUB_USERNAME }}
8989
password: ${{ secrets.DOCKERHUB_TOKEN }}
9090

9191
# https://github.com/docker/login-action#github-container-registry
9292
- name: Login to GitHub Container Registry
93-
uses: docker/login-action@v2
93+
uses: docker/login-action@v3
9494
with:
9595
registry: ghcr.io
9696
username: ${{ github.actor }}
9797
password: ${{ secrets.GITHUB_TOKEN }}
9898

9999
# https://github.com/docker/build-push-action#multi-platform-image
100100
- name: Build and publish to Docker Hub and Github registries
101-
uses: docker/build-push-action@v3
101+
uses: docker/build-push-action@v5
102102
with:
103103
context: .
104104
file: Dockerfile
@@ -109,8 +109,8 @@ jobs:
109109
# https://github.com/peter-evans/dockerhub-description
110110
# Note that we only update the description with the master branch version.
111111
- name: Set Docker Hub description from README.md
112-
if: github.ref == 'refs/heads/master'
113-
uses: peter-evans/dockerhub-description@v3
112+
if: github.ref == 'refs/heads/main'
113+
uses: peter-evans/dockerhub-description@v4
114114
with:
115115
username: ${{ secrets.DOCKERHUB_USERNAME }}
116116
password: ${{ secrets.DOCKERHUB_TOKEN }}

0 commit comments

Comments
 (0)