From d092af334688e96d85b1e5c2e7adcf0ac417cde7 Mon Sep 17 00:00:00 2001 From: Dustin Black Date: Thu, 2 May 2024 16:47:16 +0200 Subject: [PATCH] iterating --- .github/workflows/reusable_workflow.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/reusable_workflow.yaml b/.github/workflows/reusable_workflow.yaml index b4b5124..e5961af 100644 --- a/.github/workflows/reusable_workflow.yaml +++ b/.github/workflows/reusable_workflow.yaml @@ -115,7 +115,7 @@ jobs: - name: Build multi-arch image for release id: build-multi-arch-release - if: github.event_name == 'release' && inputs.multi_arch == true + # if: github.event_name == 'release' && inputs.multi_arch == true uses: redhat-actions/buildah-build@v2 with: context: . @@ -127,7 +127,7 @@ jobs: - name: Push release image to quay.io id: push-release-to-quay - if: github.event_name == 'release' && inputs.multi_arch == true + # if: github.event_name == 'release' && inputs.multi_arch == true uses: redhat-actions/push-to-registry@v2 with: image: ${{ steps.build-multi-arch-release.outputs.image }} @@ -135,12 +135,12 @@ jobs: registry: quay.io/arcalot - name: Print release image url - if: github.event_name == 'release' && inputs.multi_arch == true + # if: github.event_name == 'release' && inputs.multi_arch == true run: echo "Image pushed to ${{ steps.push-release-to-quay.outputs.registry-paths }}" act-build-dev: name: Build ${{ github.ref_name }} from ${{ github.event_name }} - if: github.event_name == 'release' && inputs.multi_arch == true + if: github.event_name != 'release' && inputs.multi_arch == true runs-on: ubuntu-latest steps: - name: Initialize ACT @@ -164,7 +164,7 @@ jobs: - name: Build multi-arch image for dev id: build-multi-arch-dev - if: github.event_name != 'release' && inputs.multi_arch == true + # if: github.event_name != 'release' && inputs.multi_arch == true uses: redhat-actions/buildah-build@v2 with: context: . @@ -176,7 +176,7 @@ jobs: - name: Push dev image to quay.io id: push-dev-to-quay - if: github.event_name != 'release' && inputs.multi_arch == true + # if: github.event_name != 'release' && inputs.multi_arch == true uses: redhat-actions/push-to-registry@v2 with: image: ${{ steps.build-multi-arch-dev.outputs.image }} @@ -184,5 +184,5 @@ jobs: registry: quay.io/arcalot - name: Print dev image url - if: github.event_name != 'release' && inputs.multi_arch == true + # if: github.event_name != 'release' && inputs.multi_arch == true run: echo "Image pushed to ${{ steps.push-dev-to-quay.outputs.registry-paths }}"