@@ -257,9 +257,9 @@ jobs:
257
257
id : platform
258
258
run : |
259
259
if [[ "${{ matrix.platform }}" == "linux/amd64" ]]; then
260
- echo "suffix=linux- amd64" >> $GITHUB_OUTPUT
260
+ echo "suffix=amd64" >> $GITHUB_OUTPUT
261
261
else
262
- echo "suffix=linux- arm64" >> $GITHUB_OUTPUT
262
+ echo "suffix=arm64" >> $GITHUB_OUTPUT
263
263
fi
264
264
265
265
- name : Set up Docker Buildx
@@ -284,7 +284,7 @@ jobs:
284
284
cache-to : type=inline
285
285
286
286
- name : Tag latest locally
287
- run : docker tag aminya/${{ matrix.container.image }}:${{ matrix.container.tag }}-${{ steps.platform.outputs.suffix }} aminya/${{ matrix.container.image }}:latest
287
+ run : docker tag docker.io/ aminya/${{ matrix.container.image }}:${{ matrix.container.tag }}-${{ steps.platform.outputs.suffix }} aminya/${{ matrix.container.image }}:latest
288
288
289
289
- name : Push latest to Docker Hub
290
290
if : ${{ github.event_name != 'pull_request' && matrix.container.distro != 'ubuntu' }}
@@ -311,7 +311,7 @@ jobs:
311
311
cache-to : type=inline
312
312
313
313
- name : Tag latest locally
314
- run : docker tag aminya/${{ matrix.container.image }}-llvm:${{ matrix.container.tag }}-${{ steps.platform.outputs.suffix }} aminya/${{ matrix.container.image }}-llvm:latest
314
+ run : docker tag docker.io/ aminya/${{ matrix.container.image }}-llvm:${{ matrix.container.tag }}-${{ steps.platform.outputs.suffix }} aminya/${{ matrix.container.image }}-llvm:latest
315
315
316
316
- name : Push latest to Docker Hub
317
317
if : ${{ github.event_name != 'pull_request' && matrix.container.distro != 'ubuntu' }}
@@ -348,7 +348,7 @@ jobs:
348
348
cache-to : type=inline
349
349
350
350
- name : Tag latest locally
351
- run : docker tag aminya/${{ matrix.container.image }}-gcc:${{ matrix.container.tag }}-${{ steps.platform.outputs.suffix }} aminya/${{ matrix.container.image }}-gcc:latest
351
+ run : docker tag docker.io/ aminya/${{ matrix.container.image }}-gcc:${{ matrix.container.tag }}-${{ steps.platform.outputs.suffix }} aminya/${{ matrix.container.image }}-gcc:latest
352
352
353
353
- name : Push latest to Docker Hub
354
354
if : ${{ github.event_name != 'pull_request' && matrix.container.distro != 'ubuntu' }}
@@ -386,7 +386,7 @@ jobs:
386
386
cache-to : type=inline
387
387
388
388
- name : Tag latest locally
389
- run : docker tag aminya/${{ matrix.container.image }}-mingw:${{ matrix.container.tag }}-${{ steps.platform.outputs.suffix }} aminya/${{ matrix.container.image }}-mingw:latest
389
+ run : docker tag docker.io/ aminya/${{ matrix.container.image }}-mingw:${{ matrix.container.tag }}-${{ steps.platform.outputs.suffix }} aminya/${{ matrix.container.image }}-mingw:latest
390
390
391
391
- name : Push latest to Docker Hub
392
392
if : ${{ github.event_name != 'pull_request' && matrix.container.distro != 'ubuntu' }}
@@ -442,14 +442,14 @@ jobs:
442
442
443
443
# Create versioned manifest
444
444
docker manifest create "aminya/setup-cpp-$DISTRO$VARIANT:$TAG" \
445
- "aminya/setup-cpp-$DISTRO$VARIANT:$TAG-linux- amd64" \
446
- "aminya/setup-cpp-$DISTRO$VARIANT:$TAG-linux- arm64"
445
+ "aminya/setup-cpp-$DISTRO$VARIANT:$TAG-amd64" \
446
+ "aminya/setup-cpp-$DISTRO$VARIANT:$TAG-arm64"
447
447
docker manifest push "aminya/setup-cpp-$DISTRO$VARIANT:$TAG"
448
448
449
449
# Create latest manifest
450
450
docker manifest create "aminya/setup-cpp-$DISTRO$VARIANT:latest" \
451
- "aminya/setup-cpp-$DISTRO$VARIANT:$TAG-linux- amd64" \
452
- "aminya/setup-cpp-$DISTRO$VARIANT:$TAG-linux- arm64"
451
+ "aminya/setup-cpp-$DISTRO$VARIANT:$TAG-amd64" \
452
+ "aminya/setup-cpp-$DISTRO$VARIANT:$TAG-arm64"
453
453
docker manifest push "aminya/setup-cpp-$DISTRO$VARIANT:latest"
454
454
done
455
455
0 commit comments