Skip to content

Commit

Permalink
iterating
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinblack committed May 2, 2024
1 parent c90b8de commit d092af3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/reusable_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: .
Expand All @@ -127,20 +127,20 @@ 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 }}
tags: ${{ steps.build-multi-arch-release.outputs.tags }}
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
Expand All @@ -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: .
Expand All @@ -176,13 +176,13 @@ 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 }}
tags: ${{ steps.build-multi-arch-dev.outputs.tags }}
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 }}"

0 comments on commit d092af3

Please sign in to comment.