Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
dgolovin authored Feb 14, 2024
1 parent d5e2882 commit cf18d63
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,20 +68,20 @@ jobs:
if: ${{ inputs.registry == 'quay' }}
run: podman login --username ${{ secrets.QUAY_ROBOT_NAME }} --password ${{ secrets.QUAY_ROBOT_TOKEN }} quay.io

- name: Login to ghcr.io
- name: Login to ghrc.io
if: ${{ inputs.registry == 'ghrc' }}
run: podman login --username ${{ github.repository_owner }} --password ${{ secrets.GITHUB_TOKEN }} ghcr.io

- name: Build and Push Image (Quay)
- name: Build and Push Image (quay.io)
if: ${{ inputs.registry == 'quay' }}
id: build-image-quay
run: |
podman build -t quay.io/redhat-developer/podman-desktop-redhat-account-ext:${{ inputs.ext-version }} .
podman push quay.io/redhat-developer/podman-desktop-redhat-account-ext:${{ inputs.ext-version }}
- name: Build and Push Image (ghcr)
if: ${{ inputs.registry == 'ghcr' }}
id: build-image-hgrc
- name: Build and Push Image (ghrc.io)
if: ${{ inputs.registry == 'ghrc' }}
id: build-image-ghrc
run: |
podman build -t ghrc.io/redhat-developer/podman-desktop-redhat-account-ext:latest .
podman push ghrc.io/redhat-developer/podman-desktop-redhat-account-ext:latest

0 comments on commit cf18d63

Please sign in to comment.