Skip to content

Commit

Permalink
feat(workflow) fixed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kubealex committed Nov 26, 2022
1 parent 0b17d66 commit 04c4b3a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
outputs:
release_tag: ${{ steps.bump-version.outputs.new_tag || steps.bump-version.outputs.previous_tag }}

steps:
- uses: actions/checkout@v3

Expand All @@ -22,8 +22,8 @@ jobs:
id: bump-version
with:
github_token: ${{ secrets.GH_TOKEN }}
default_bump: false
default_bump: false

build_image:
needs: versioning
name: Build and push container images
Expand All @@ -48,7 +48,7 @@ jobs:
tags: latest-arm64 ${{ needs.versioning.outputs.release_tag }}-arm64
containerfiles: |
./Dockerfile-ARM64
- name: Push To quay.io
id: push-x86
uses: redhat-actions/push-to-registry@v2
Expand All @@ -58,7 +58,7 @@ jobs:
registry: quay.io/kubealex
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_TOKEN }}

- name: Push To quay.io
id: push-arm64
uses: redhat-actions/push-to-registry@v2
Expand All @@ -68,8 +68,8 @@ jobs:
registry: quay.io/kubealex
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_TOKEN }}

- name: Print image url
run: echo "Images pushed to {{ steps.push-x86.outputs.registry-paths }} and ${{ steps.push-arm64.outputs.registry-paths }}"


0 comments on commit 04c4b3a

Please sign in to comment.