@@ -285,7 +285,9 @@ jobs:
285
285
cache-to : type=inline
286
286
287
287
- name : Tag latest locally
288
- run : docker tag ${{ steps.build_base.outputs.imageid }} aminya/${{ matrix.container.image }}:latest
288
+ run : |
289
+ docker pull aminya/${{ matrix.container.image }}:${{ matrix.container.tag }}-${{ steps.platform.outputs.suffix }}@${{ steps.build_base.outputs.imageid }}
290
+ docker tag aminya/${{ matrix.container.image }}:${{ matrix.container.tag }}-${{ steps.platform.outputs.suffix }} aminya/${{ matrix.container.image }}:latest
289
291
290
292
- name : Push latest to Docker Hub
291
293
if : ${{ github.event_name != 'pull_request' && matrix.container.distro != 'ubuntu' }}
@@ -313,7 +315,9 @@ jobs:
313
315
cache-to : type=inline
314
316
315
317
- name : Tag latest locally
316
- run : docker tag ${{ steps.build_llvm.outputs.imageid }} aminya/${{ matrix.container.image }}-llvm:latest
318
+ run : |
319
+ docker pull aminya/${{ matrix.container.image }}-llvm:${{ matrix.container.tag }}-${{ steps.platform.outputs.suffix }}@${{ steps.build_llvm.outputs.imageid }}
320
+ docker tag aminya/${{ matrix.container.image }}-llvm:${{ matrix.container.tag }}-${{ steps.platform.outputs.suffix }} aminya/${{ matrix.container.image }}-llvm:latest
317
321
318
322
- name : Push latest to Docker Hub
319
323
if : ${{ github.event_name != 'pull_request' && matrix.container.distro != 'ubuntu' }}
@@ -351,7 +355,9 @@ jobs:
351
355
cache-to : type=inline
352
356
353
357
- name : Tag latest locally
354
- run : docker tag ${{ steps.build_gcc.outputs.imageid }} aminya/${{ matrix.container.image }}-gcc:latest
358
+ run : |
359
+ docker pull aminya/${{ matrix.container.image }}-gcc:${{ matrix.container.tag }}-${{ steps.platform.outputs.suffix }}@${{ steps.build_gcc.outputs.imageid }}
360
+ docker tag aminya/${{ matrix.container.image }}-gcc:${{ matrix.container.tag }}-${{ steps.platform.outputs.suffix }} aminya/${{ matrix.container.image }}-gcc:latest
355
361
356
362
- name : Push latest to Docker Hub
357
363
if : ${{ github.event_name != 'pull_request' && matrix.container.distro != 'ubuntu' }}
@@ -390,7 +396,9 @@ jobs:
390
396
cache-to : type=inline
391
397
392
398
- name : Tag latest locally
393
- run : docker tag ${{ steps.build_mingw.outputs.imageid }} aminya/${{ matrix.container.image }}-mingw:latest
399
+ run : |
400
+ docker pull aminya/${{ matrix.container.image }}-mingw:${{ matrix.container.tag }}-${{ steps.platform.outputs.suffix }}@${{ steps.build_mingw.outputs.imageid }}
401
+ docker tag aminya/${{ matrix.container.image }}-mingw:${{ matrix.container.tag }}-${{ steps.platform.outputs.suffix }} aminya/${{ matrix.container.image }}-mingw:latest
394
402
395
403
- name : Push latest to Docker Hub
396
404
if : ${{ github.event_name != 'pull_request' && matrix.container.distro != 'ubuntu' }}
0 commit comments