Skip to content

Commit

Permalink
Merge pull request #9 from akrejcir/fix-release-tag
Browse files Browse the repository at this point in the history
ci: fix image version in the released yaml bundle
  • Loading branch information
kubevirt-bot authored Mar 16, 2023
2 parents edc91e2 + 92a8718 commit fb8e2d3
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ jobs:
name: Release
runs-on: ubuntu-latest
steps:
- name: Get release
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Install Golang 1.19
uses: actions/setup-go@v2
with:
Expand All @@ -18,18 +24,15 @@ jobs:
uses: actions/checkout@v3

- name: Generate release manifests
run: make release-manifests

- name: Get release
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
IMG_TAG: ${{ steps.get_release.outputs.tag_name }}
run: make release-manifests

- name: Upload to Quay
env:
IMG_TAG: ${{ steps.get_release.outputs.tag_name }}
run: |
podman login -u="${{ secrets.QUAY_BOT }}" -p="${{ secrets.QUAY_PASSWORD }}" quay.io
export IMG_TAG="${{ steps.get_release.outputs.tag_name }}"
make build-container
make push-container
Expand Down

0 comments on commit fb8e2d3

Please sign in to comment.