From cf18d63d29c024b941b94d9739eabcdca96bfefe Mon Sep 17 00:00:00 2001 From: Denis Golovin Date: Wed, 14 Feb 2024 15:53:45 -0800 Subject: [PATCH] Update build.yaml --- .github/workflows/build.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 65944d14..5f627c4c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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