Skip to content

Commit

Permalink
Use docker login and push instead of podman
Browse files Browse the repository at this point in the history
Signed-off-by: Jose R. Gonzalez <[email protected]>
  • Loading branch information
komish committed Jul 10, 2023
1 parent 2acb686 commit c6066a7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/dev_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,16 @@ jobs:
id: build-image
run: ve1/bin/build-and-test --image-name="quay.io/redhat-certification/chart-verifier" --sha-value=$DEV_RELEASE --build-only="True"}

- name: Login to Quay as Bot
- name: Login to Registry
id: login-as-bot
uses: docker/login-action@v2
if: ${{ steps.build-image.outcome == 'success'}}
uses: redhat-actions/podman-login@v1
with:
username: ${{ secrets.QUAY_BOT_USERNAME }}
password: ${{ secrets.QUAY_BOT_TOKEN }}
registry: quay.io/redhat-certification
registry: quay.io
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Push Image
if: ${{ steps.login-as-bot.outcome == 'success' }}
run: |
podman push quay.io/redhat-certification/chart-verifier:$DEV_RELEASE
docker push quay.io/redhat-certification/chart-verifier:$DEV_RELEASE

0 comments on commit c6066a7

Please sign in to comment.