16
16
runs-on : ubuntu-latest
17
17
steps :
18
18
- name : Checkout
19
- uses : actions/checkout@v3
19
+ uses : actions/checkout@v4
20
20
21
21
- name : Build image
22
22
run : |
@@ -57,12 +57,12 @@ jobs:
57
57
runs-on : ubuntu-latest
58
58
steps :
59
59
- name : Checkout
60
- uses : actions/checkout@v3
60
+ uses : actions/checkout@v4
61
61
62
62
# Calculate the tags to be pussed to the registries.
63
63
- name : Calculate image tag names
64
64
id : calculatetags
65
- uses : docker/metadata-action@v4
65
+ uses : docker/metadata-action@v5
66
66
with :
67
67
images : |
68
68
${{ env.DOCKERHUB_OWNER }}/${{ env.REPOSITORY }}
@@ -74,30 +74,30 @@ jobs:
74
74
75
75
# https://github.com/docker/setup-qemu-action#usage
76
76
- name : Set up QEMU
77
- uses : docker/setup-qemu-action@v2
77
+ uses : docker/setup-qemu-action@v3
78
78
79
79
# https://github.com/marketplace/actions/docker-setup-buildx
80
80
- name : Set up Docker Buildx
81
- uses : docker/setup-buildx-action@v2
81
+ uses : docker/setup-buildx-action@v3
82
82
83
83
# https://github.com/docker/login-action#docker-hub
84
84
- name : Login to Docker Hub
85
- uses : docker/login-action@v2
85
+ uses : docker/login-action@v3
86
86
with :
87
87
username : ${{ secrets.DOCKERHUB_USERNAME }}
88
88
password : ${{ secrets.DOCKERHUB_TOKEN }}
89
89
90
90
# https://github.com/docker/login-action#github-container-registry
91
91
- name : Login to GitHub Container Registry
92
- uses : docker/login-action@v2
92
+ uses : docker/login-action@v3
93
93
with :
94
94
registry : ghcr.io
95
95
username : ${{ github.actor }}
96
96
password : ${{ secrets.GITHUB_TOKEN }}
97
97
98
98
# https://github.com/docker/build-push-action#multi-platform-image
99
99
- name : Build and publish to Docker Hub and Github registries
100
- uses : docker/build-push-action@v3
100
+ uses : docker/build-push-action@v5
101
101
with :
102
102
context : .
103
103
file : Dockerfile
@@ -109,7 +109,7 @@ jobs:
109
109
# Note that we only update the description with the main branch version.
110
110
- name : Set Docker Hub description from README.md
111
111
if : github.ref == 'refs/heads/main'
112
- uses : peter-evans/dockerhub-description@v3
112
+ uses : peter-evans/dockerhub-description@v4
113
113
with :
114
114
username : ${{ secrets.DOCKERHUB_USERNAME }}
115
115
password : ${{ secrets.DOCKERHUB_TOKEN }}
0 commit comments