Skip to content

Commit 1b76ebf

Browse files
committed
chore: rename workflow steps
1 parent b52e5c4 commit 1b76ebf

File tree

1 file changed

+34
-44
lines changed

1 file changed

+34
-44
lines changed

.github/workflows/devel.yml

Lines changed: 34 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ env:
1818

1919
jobs:
2020
docker-amd64:
21-
name: Docker test (AMD64)
21+
name: Docker devel (amd64)
2222
runs-on: ubuntu-22.04
2323
steps:
2424
-
@@ -36,18 +36,17 @@ jobs:
3636
sudo rm -rf /usr/local/lib/android/sdk/extras
3737
sudo rm -rf /usr/local/lib/android/sdk/ndk
3838
-
39-
name: Login to ghcr.io
39+
name: Login
4040
uses: docker/login-action@v3
41-
# if: github.ref == 'refs/heads/main'
4241
with:
4342
registry: ghcr.io
4443
username: ${{ github.actor }}
4544
password: ${{ secrets.GITHUB_TOKEN }}
4645
-
47-
name: Set up QEMU
46+
name: QEMU
4847
uses: docker/setup-qemu-action@v3
4948
-
50-
name: Docker meta
49+
name: Metadata (base)
5150
id: meta
5251
uses: docker/metadata-action@v5
5352
with:
@@ -57,12 +56,12 @@ jobs:
5756
tags: |
5857
type=raw,value=devel-amd64
5958
-
60-
name: Set up Docker Buildx
59+
name: Setup (base)
6160
uses: docker/setup-buildx-action@v3
6261
with:
6362
driver-opts: network=host
6463
-
65-
name: Build image
64+
name: Build (base)
6665
uses: docker/build-push-action@v6
6766
with:
6867
context: .
@@ -77,11 +76,11 @@ jobs:
7776
cache-from: type=gha,scope=devel-amd64
7877
cache-to: type=gha,scope=devel-amd64,mode=max
7978
-
80-
name: Inspect image
79+
name: Inspect (base)
8180
run: |
8281
docker image inspect ${{ env.DOCKER_IMAGE }}:${{ steps.meta.outputs.version }}
8382
-
84-
name: Run tests
83+
name: Tests (base)
8584
uses: addnab/docker-run-action@v3
8685
with:
8786
image: "${{ env.DOCKER_IMAGE }}:${{ steps.meta.outputs.version }}"
@@ -93,7 +92,7 @@ jobs:
9392
uname -a
9493
make test-app
9594
-
96-
name: Build image & push
95+
name: Push (base)
9796
uses: docker/build-push-action@v6
9897
with:
9998
context: .
@@ -103,20 +102,18 @@ jobs:
103102
labels: ${{ steps.meta.outputs.labels }}
104103
build-args: |
105104
VERSION=0.0.0
106-
# push: ${{ github.ref == 'refs/heads/master' }}
107105
push: true
108106
cache-from: type=gha,scope=devel-amd64
109107
cache-to: type=gha,scope=devel-amd64,mode=max
110108
-
111-
name: Check manifest
112-
# if: github.ref == 'refs/heads/master'
109+
name: Manifest (base)
113110
run: |
114111
docker buildx imagetools inspect ${{ env.DOCKER_IMAGE }}:${{ steps.meta.outputs.version }}
115112
116113
## AMD64 libs
117114

118115
-
119-
name: Docker meta (libs)
116+
name: Metadata (libs)
120117
id: meta2
121118
uses: docker/metadata-action@v5
122119
with:
@@ -126,12 +123,12 @@ jobs:
126123
tags: |
127124
type=raw,value=devel-libs-amd64
128125
-
129-
name: Set up Docker Buildx (libs)
126+
name: Setup (libs)
130127
uses: docker/setup-buildx-action@v3
131128
with:
132129
driver-opts: network=host
133130
-
134-
name: Build image (libs)
131+
name: Build (libs)
135132
uses: docker/build-push-action@v6
136133
with:
137134
context: .
@@ -148,11 +145,11 @@ jobs:
148145
type=gha,scope=devel-amd64
149146
cache-to: type=gha,scope=devel-libs-amd64,mode=max
150147
-
151-
name: Inspect image (libs)
148+
name: Inspect (libs)
152149
run: |
153150
docker image inspect ${{ env.DOCKER_IMAGE }}:${{ steps.meta2.outputs.version }}
154151
-
155-
name: Run tests (libs)
152+
name: Tests (libs)
156153
uses: addnab/docker-run-action@v3
157154
with:
158155
image: "${{ env.DOCKER_IMAGE }}:${{ steps.meta2.outputs.version }}"
@@ -166,7 +163,7 @@ jobs:
166163
make test-zlib
167164
make test-openssl
168165
-
169-
name: Build image & push (libs)
166+
name: Push (libs)
170167
uses: docker/build-push-action@v6
171168
with:
172169
context: .
@@ -176,20 +173,18 @@ jobs:
176173
labels: ${{ steps.meta2.outputs.labels }}
177174
build-args: |
178175
VERSION=0.0.0
179-
# push: ${{ github.ref == 'refs/heads/master' }}
180176
push: true
181177
cache-from: |
182178
type=gha,scope=devel-libs-amd64
183179
type=gha,scope=devel-amd64
184180
cache-to: type=gha,scope=devel-libs-amd64,mode=max
185181
-
186-
name: Check manifest (libs)
187-
# if: github.ref == 'refs/heads/master'
182+
name: Manifest (libs)
188183
run: |
189184
docker buildx imagetools inspect ${{ env.DOCKER_IMAGE }}:${{ steps.meta2.outputs.version }}
190185
191186
docker-arm64:
192-
name: Docker test (ARM64)
187+
name: Docker devel (arm64)
193188
runs-on: ubuntu-22.04-arm
194189
steps:
195190
-
@@ -207,18 +202,17 @@ jobs:
207202
sudo rm -rf /usr/local/lib/android/sdk/extras
208203
sudo rm -rf /usr/local/lib/android/sdk/ndk
209204
-
210-
name: Login to ghcr.io
205+
name: Login
211206
uses: docker/login-action@v3
212-
# if: github.ref == 'refs/heads/main'
213207
with:
214208
registry: ghcr.io
215209
username: ${{ github.actor }}
216210
password: ${{ secrets.GITHUB_TOKEN }}
217211
-
218-
name: Set up QEMU
212+
name: QEMU
219213
uses: docker/setup-qemu-action@v3
220214
-
221-
name: Docker meta
215+
name: Metadata (base)
222216
id: meta
223217
uses: docker/metadata-action@v5
224218
with:
@@ -228,12 +222,12 @@ jobs:
228222
tags: |
229223
type=raw,value=devel-arm64
230224
-
231-
name: Set up Docker Buildx
225+
name: Setup (base)
232226
uses: docker/setup-buildx-action@v3
233227
with:
234228
driver-opts: network=host
235229
-
236-
name: Build image
230+
name: Build (base)
237231
uses: docker/build-push-action@v6
238232
with:
239233
context: .
@@ -248,11 +242,11 @@ jobs:
248242
cache-from: type=gha,scope=devel-arm64
249243
cache-to: type=gha,scope=devel-arm64,mode=max
250244
-
251-
name: Inspect image
245+
name: Inspect (base)
252246
run: |
253247
docker image inspect ${{ env.DOCKER_IMAGE }}:${{ steps.meta.outputs.version }}
254248
-
255-
name: Run tests
249+
name: Tests (base)
256250
uses: addnab/docker-run-action@v3
257251
with:
258252
image: "${{ env.DOCKER_IMAGE }}:${{ steps.meta.outputs.version }}"
@@ -264,7 +258,7 @@ jobs:
264258
uname -a
265259
make test-app
266260
-
267-
name: Build image & push
261+
name: Push (base)
268262
uses: docker/build-push-action@v6
269263
with:
270264
context: .
@@ -274,20 +268,18 @@ jobs:
274268
labels: ${{ steps.meta.outputs.labels }}
275269
build-args: |
276270
VERSION=0.0.0
277-
# push: ${{ github.ref == 'refs/heads/master' }}
278271
push: true
279272
cache-from: type=gha,scope=devel-arm64
280273
cache-to: type=gha,scope=devel-arm64,mode=max
281274
-
282-
name: Check manifest
283-
# if: github.ref == 'refs/heads/master'
275+
name: Manifest (base)
284276
run: |
285277
docker buildx imagetools inspect ${{ env.DOCKER_IMAGE }}:${{ steps.meta.outputs.version }}
286278
287279
## ARM64 libs
288280

289281
-
290-
name: Docker meta (libs)
282+
name: Metadata (libs)
291283
id: meta2
292284
uses: docker/metadata-action@v5
293285
with:
@@ -297,12 +289,12 @@ jobs:
297289
tags: |
298290
type=raw,value=devel-libs-arm64
299291
-
300-
name: Set up Docker Buildx (libs)
292+
name: Setup (libs)
301293
uses: docker/setup-buildx-action@v3
302294
with:
303295
driver-opts: network=host
304296
-
305-
name: Build image (libs)
297+
name: Build (libs)
306298
uses: docker/build-push-action@v6
307299
with:
308300
context: .
@@ -319,11 +311,11 @@ jobs:
319311
type=gha,scope=devel-arm64
320312
cache-to: type=gha,scope=devel-libs-arm64,mode=max
321313
-
322-
name: Inspect image (libs)
314+
name: Inspect (libs)
323315
run: |
324316
docker image inspect ${{ env.DOCKER_IMAGE }}:${{ steps.meta2.outputs.version }}
325317
-
326-
name: Run tests (libs)
318+
name: Tests (libs)
327319
uses: addnab/docker-run-action@v3
328320
with:
329321
image: "${{ env.DOCKER_IMAGE }}:${{ steps.meta2.outputs.version }}"
@@ -337,7 +329,7 @@ jobs:
337329
make test-zlib
338330
make test-openssl
339331
-
340-
name: Build image & push (libs)
332+
name: Push (libs)
341333
uses: docker/build-push-action@v6
342334
with:
343335
context: .
@@ -347,14 +339,12 @@ jobs:
347339
labels: ${{ steps.meta2.outputs.labels }}
348340
build-args: |
349341
VERSION=0.0.0
350-
# push: ${{ github.ref == 'refs/heads/master' }}
351342
push: true
352343
cache-from: |
353344
type=gha,scope=devel-libs-arm64
354345
type=gha,scope=devel-arm64
355346
cache-to: type=gha,scope=devel-libs-arm64,mode=max
356347
-
357-
name: Check manifest (libs)
358-
# if: github.ref == 'refs/heads/master'
348+
name: Manifest (libs)
359349
run: |
360350
docker buildx imagetools inspect ${{ env.DOCKER_IMAGE }}:${{ steps.meta2.outputs.version }}

0 commit comments

Comments
 (0)