Skip to content

Commit 0d24900

Browse files
authored
chore(deps): bump publish workflow actions and drop unused QEMU step (#99)
* chore(deps): bump publish workflow actions to current majors * ci: drop the unused QEMU setup step Images are only built for linux/amd64, so QEMU is not needed. The step pulls tonistiigi/binfmt from Docker Hub before the Docker Hub login, and that anonymous pull hit the rate limit and failed a build.
1 parent 82f894e commit 0d24900

1 file changed

Lines changed: 20 additions & 32 deletions

File tree

‎.github/workflows/action-docker-publish.yml‎

Lines changed: 20 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,24 @@ jobs:
2020
id-token: write
2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v5
24-
25-
- name: Setup QEMU
26-
uses: docker/setup-qemu-action@v3
23+
uses: actions/checkout@v7
2724

2825
- name: Login to Docker Hub
29-
uses: docker/login-action@v3
26+
uses: docker/login-action@v4
3027
with:
3128
username: ${{ secrets.DOCKER_HUB_USERNAME }}
3229
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
3330

3431
- name: Login to GitHub Container Registry
35-
uses: docker/login-action@v3
32+
uses: docker/login-action@v4
3633
with:
3734
registry: ghcr.io
3835
username: ${{ github.actor }}
3936
password: ${{ secrets.GITHUB_TOKEN }}
4037

4138
- name: Extract metadata (tags, labels) for Docker
4239
id: meta
43-
uses: docker/metadata-action@v5
40+
uses: docker/metadata-action@v6
4441
with:
4542
images: |
4643
gameservermanagers/steamcmd
@@ -49,7 +46,7 @@ jobs:
4946
ubuntu-26.04
5047
5148
- name: Build and push (Ubuntu 26.04)
52-
uses: docker/build-push-action@v6
49+
uses: docker/build-push-action@v7
5350
with:
5451
context: .
5552
file: ./Dockerfile.ubuntu-2604
@@ -68,27 +65,24 @@ jobs:
6865
id-token: write
6966
steps:
7067
- name: Checkout
71-
uses: actions/checkout@v6
72-
73-
- name: Setup QEMU
74-
uses: docker/setup-qemu-action@v3
68+
uses: actions/checkout@v7
7569

7670
- name: Login to Docker Hub
77-
uses: docker/login-action@v3
71+
uses: docker/login-action@v4
7872
with:
7973
username: ${{ secrets.DOCKER_HUB_USERNAME }}
8074
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
8175

8276
- name: Login to GitHub Container Registry
83-
uses: docker/login-action@v3
77+
uses: docker/login-action@v4
8478
with:
8579
registry: ghcr.io
8680
username: ${{ github.actor }}
8781
password: ${{ secrets.GITHUB_TOKEN }}
8882

8983
- name: Extract metadata (tags, labels) for Docker
9084
id: meta
91-
uses: docker/metadata-action@v5
85+
uses: docker/metadata-action@v6
9286
with:
9387
images: |
9488
gameservermanagers/steamcmd
@@ -99,7 +93,7 @@ jobs:
9993
ubuntu-24.04
10094
10195
- name: Build and push (Ubuntu 24.04)
102-
uses: docker/build-push-action@v6
96+
uses: docker/build-push-action@v7
10397
with:
10498
context: .
10599
file: ./Dockerfile.ubuntu-2404
@@ -118,27 +112,24 @@ jobs:
118112
id-token: write
119113
steps:
120114
- name: Checkout
121-
uses: actions/checkout@v6
122-
123-
- name: Setup QEMU
124-
uses: docker/setup-qemu-action@v3
115+
uses: actions/checkout@v7
125116

126117
- name: Login to Docker Hub
127-
uses: docker/login-action@v3
118+
uses: docker/login-action@v4
128119
with:
129120
username: ${{ secrets.DOCKER_HUB_USERNAME }}
130121
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
131122

132123
- name: Login to GitHub Container Registry
133-
uses: docker/login-action@v3
124+
uses: docker/login-action@v4
134125
with:
135126
registry: ghcr.io
136127
username: ${{ github.actor }}
137128
password: ${{ secrets.GITHUB_TOKEN }}
138129

139130
- name: Extract metadata (tags, labels) for Docker
140131
id: meta
141-
uses: docker/metadata-action@v5
132+
uses: docker/metadata-action@v6
142133
with:
143134
images: |
144135
gameservermanagers/steamcmd
@@ -147,7 +138,7 @@ jobs:
147138
ubuntu-22.04
148139
149140
- name: Build and push (Ubuntu 22.04)
150-
uses: docker/build-push-action@v6
141+
uses: docker/build-push-action@v7
151142
with:
152143
context: .
153144
file: ./Dockerfile.ubuntu-2204
@@ -166,27 +157,24 @@ jobs:
166157
id-token: write
167158
steps:
168159
- name: Checkout
169-
uses: actions/checkout@v6
170-
171-
- name: Setup QEMU
172-
uses: docker/setup-qemu-action@v3
160+
uses: actions/checkout@v7
173161

174162
- name: Login to Docker Hub
175-
uses: docker/login-action@v3
163+
uses: docker/login-action@v4
176164
with:
177165
username: ${{ secrets.DOCKER_HUB_USERNAME }}
178166
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
179167

180168
- name: Login to GitHub Container Registry
181-
uses: docker/login-action@v3
169+
uses: docker/login-action@v4
182170
with:
183171
registry: ghcr.io
184172
username: ${{ github.actor }}
185173
password: ${{ secrets.GITHUB_TOKEN }}
186174

187175
- name: Extract metadata (tags, labels) for Docker
188176
id: meta
189-
uses: docker/metadata-action@v5
177+
uses: docker/metadata-action@v6
190178
with:
191179
images: |
192180
gameservermanagers/steamcmd
@@ -195,7 +183,7 @@ jobs:
195183
ubuntu-20.04
196184
197185
- name: Build and push (Ubuntu 20.04)
198-
uses: docker/build-push-action@v6
186+
uses: docker/build-push-action@v7
199187
with:
200188
context: .
201189
file: ./Dockerfile.ubuntu-2004

0 commit comments

Comments
 (0)