From 7edab8fe01af7f8f57404194d4b4f30b6d60a179 Mon Sep 17 00:00:00 2001 From: Sylvain Bellemare Date: Thu, 15 Dec 2022 17:23:37 -0600 Subject: [PATCH] Remove conditional push in ci A different approach is needed; see #29. --- .github/workflows/build_and_push.yml | 32 ---------------------------- 1 file changed, 32 deletions(-) diff --git a/.github/workflows/build_and_push.yml b/.github/workflows/build_and_push.yml index 59fbb3a..4f399df 100644 --- a/.github/workflows/build_and_push.yml +++ b/.github/workflows/build_and_push.yml @@ -24,35 +24,11 @@ jobs: with: username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} - - - name: Verify Changed files - uses: tj-actions/verify-changed-files@v12 - id: verify-changed-files - with: - files: | - "2.18" - "2.17.1" - "2.17" - "2.16" - "2.15.1" - "2.14" - "2.13.3" - #"2.13" - #"2.12" - #"2.11" - #"2.9.1" - #"2.7.1" - #"2.6" - #"2.4" - #"2.3.1" - #"2.2" - #"2.1.3" - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - name: Build & push docker image for linux-sgx 2.18 ubuntu 22.04 - if: contains(steps.verify-changed-files.outputs.changed_files, "2.18") uses: docker/build-push-action@v2 with: context: . @@ -68,7 +44,6 @@ jobs: cache-to: type=registry,ref=initc3/linux-sgx:buildcache,mode=max - name: Build & push docker image for linux-sgx 2.18 ubuntu 20.04 - if: contains(steps.verify-changed-files.outputs.changed_files, "2.18") uses: docker/build-push-action@v2 with: context: . @@ -82,7 +57,6 @@ jobs: cache-to: type=registry,ref=initc3/linux-sgx:buildcache,mode=max - name: Build & push docker image for linux-sgx 2.17.1 - if: contains(steps.verify-changed-files.outputs.changed_files, "2.17.1") uses: docker/build-push-action@v2 with: context: . @@ -98,7 +72,6 @@ jobs: cache-to: type=registry,ref=initc3/linux-sgx:buildcache,mode=max - name: Build & push docker image for linux-sgx 2.17 - if: contains(steps.verify-changed-files.outputs.changed_files, "2.17") uses: docker/build-push-action@v2 with: context: . @@ -114,7 +87,6 @@ jobs: cache-to: type=registry,ref=initc3/linux-sgx:buildcache,mode=max - name: Build & push docker image for linux-sgx 2.16 - if: contains(steps.verify-changed-files.outputs.changed_files, "2.16") uses: docker/build-push-action@v2 with: context: . @@ -130,7 +102,6 @@ jobs: cache-to: type=registry,ref=initc3/linux-sgx:buildcache,mode=max - name: Build & push docker image for linux-sgx 2.15.1 - if: contains(steps.verify-changed-files.outputs.changed_files, "2.15.1") uses: docker/build-push-action@v2 with: context: . @@ -146,7 +117,6 @@ jobs: cache-to: type=registry,ref=initc3/linux-sgx:buildcache-2.15.1,mode=max - name: Build & push docker image for linux-sgx 2.14 - if: contains(steps.verify-changed-files.outputs.changed_files, "2.14") uses: docker/build-push-action@v2 with: context: . @@ -161,7 +131,6 @@ jobs: cache-to: type=registry,ref=initc3/linux-sgx:buildcache-2.14,mode=max - name: Build & push docker image for linux-sgx 2.13.3 ubuntu 20.04 - if: contains(steps.verify-changed-files.outputs.changed_files, "2.13.3") uses: docker/build-push-action@v2 with: context: . @@ -176,7 +145,6 @@ jobs: cache-to: type=registry,ref=initc3/linux-sgx:buildcache-2.13.3,mode=max - name: Build & push docker image for linux-sgx 2.13.3 ubuntu 18.04 - if: contains(steps.verify-changed-files.outputs.changed_files, "2.13.3") uses: docker/build-push-action@v2 with: context: .