Skip to content

Commit

Permalink
Upload qe images to quay when code merged to main
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyLuLiu committed Sep 26, 2024
1 parent ec4d2b9 commit d4d7c16
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/windows-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ jobs:
exclude:
- arch: 'arm64'
os: 'windows'
- arch: 'arm64'
os: 'linux'
steps:
- name: Check out repository code
uses: actions/checkout@v4
Expand All @@ -75,6 +73,18 @@ jobs:
with:
name: ${{ env.IMAGE_NAME_INTEGRATION }}-${{matrix.os}}-${{matrix.arch}}
path: ${{ env.IMAGE_NAME_INTEGRATION }}-${{matrix.os}}-${{matrix.arch}}.tar
- name: Log in to Quay.io
if github.event_name == 'push'
uses: redhat-actions/podman-login@v1
with:
username: ${{ secrets.QUAY_IO_USERNAME }}
password: ${{ secrets.QUAY_IO_PASSWORD }}
registry: ${{ env.IMAGE_REGISTRY }}
- name: Push image to quay
if github.event_name == 'push'
run: |
podman push quay.io/crcont/${{ env.IMAGE_NAME_INTEGRATION}}:gh-${{matrix.os}}-${{matrix.arch}}
podman push quay.io/crcont/${{ env.IMAGE_NAME_E2E}}:gh-${{matrix.os}}-${{matrix.arch}}
save-gh-context:
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit d4d7c16

Please sign in to comment.