@@ -336,6 +336,7 @@ jobs:
336
336
337
337
- name : Build setup-cpp-${{matrix.container.distro }}-llvm
338
338
id : build_llvm
339
+ if : ${{ matrix.container.distro != 'arch' }}
339
340
uses : docker/build-push-action@v6
340
341
with :
341
342
context : .
@@ -349,18 +350,19 @@ jobs:
349
350
cache-to : type=inline
350
351
351
352
- name : Tag latest locally
353
+ if : ${{ matrix.container.distro != 'arch' }}
352
354
run : |
353
355
docker tag aminya/${{ matrix.container.image }}-llvm:${{ matrix.container.tag }}-${{ env.version }}-${{ steps.platform.outputs.suffix }} aminya/${{ matrix.container.image }}-llvm:latest
354
356
docker tag aminya/${{ matrix.container.image }}-llvm:${{ matrix.container.tag }}-${{ env.version }}-${{ steps.platform.outputs.suffix }} aminya/${{ matrix.container.image }}-llvm:${{ matrix.container.tag }}
355
357
356
358
- name : Push latest to Docker Hub
357
- if : ${{ github.event_name != 'pull_request' && matrix.container.distro != 'ubuntu' && matrix.container.distro != 'alpine' }}
359
+ if : ${{ github.event_name != 'pull_request' && matrix.container.distro != 'ubuntu' && matrix.container.distro != 'alpine' && matrix.container.distro != 'arch' }}
358
360
run : |
359
361
docker push aminya/${{ matrix.container.image }}-llvm:latest
360
362
docker push aminya/${{ matrix.container.image }}-llvm:${{ matrix.container.tag }}
361
363
362
364
- name : Docker Readme for setup-cpp-${{matrix.container.distro }}-llvm
363
- if : ${{ github.event_name != 'pull_request' || contains(github.event.head_commit.message, '[push docker]') }}
365
+ if : ${{ ( github.event_name != 'pull_request' || contains(github.event.head_commit.message, '[push docker]')) && matrix.container.distro != 'arch' }}
364
366
uses : peter-evans/dockerhub-description@v4
365
367
with :
366
368
username : aminya
@@ -369,7 +371,7 @@ jobs:
369
371
readme-filepath : ./README_DOCKER.md
370
372
371
373
- name : Test LLVM
372
- if : ${{ !contains(github.event.head_commit.message, '[skip test]') }}
374
+ if : ${{ !contains(github.event.head_commit.message, '[skip test]') && matrix.container.distro != 'arch' }}
373
375
uses : docker/build-push-action@v6
374
376
with :
375
377
context : .
@@ -493,7 +495,7 @@ jobs:
493
495
- { distro: "alpine", image: "setup-cpp-alpine", tag: "3.21", suffix: "", latest: true }
494
496
- { distro: "alpine", image: "setup-cpp-alpine", tag: "3.21", suffix: "-llvm", latest: true }
495
497
- { distro: "alpine", image: "setup-cpp-alpine", tag: "3.21", suffix: "-gcc", latest: true }
496
- - { distro: "alpine", image: "setup-cpp-alpine", tag: "3.21", suffix: "-mingw", latest: true }
498
+ # - { distro: "alpine", image: "setup-cpp-alpine", tag: "3.21", suffix: "-mingw", latest: true }
497
499
steps :
498
500
- name : Set up Docker Buildx
499
501
uses : docker/setup-buildx-action@v3
0 commit comments