Skip to content

Commit

Permalink
Remove conditional push in ci
Browse files Browse the repository at this point in the history
A different approach is needed; see initc3#29.
  • Loading branch information
sbellem committed Dec 15, 2022
1 parent a1d1833 commit 7edab8f
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/build_and_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: .
Expand All @@ -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: .
Expand All @@ -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: .
Expand All @@ -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: .
Expand All @@ -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: .
Expand All @@ -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: .
Expand All @@ -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: .
Expand All @@ -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: .
Expand All @@ -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: .
Expand Down

0 comments on commit 7edab8f

Please sign in to comment.