From 072ce2be91a2af75dd04e86251a6e1dc7685e94e Mon Sep 17 00:00:00 2001 From: Denis Golovin Date: Wed, 14 Feb 2024 16:00:41 -0800 Subject: [PATCH] fix: ghrc => ghcr in build.yaml i Signed-off-by: Denis Golovin --- .github/workflows/build.yaml | 14 +++++++------- .github/workflows/ci.yaml | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5f627c4c..2c008fd2 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -68,8 +68,8 @@ jobs: if: ${{ inputs.registry == 'quay' }} run: podman login --username ${{ secrets.QUAY_ROBOT_NAME }} --password ${{ secrets.QUAY_ROBOT_TOKEN }} quay.io - - name: Login to ghrc.io - if: ${{ inputs.registry == 'ghrc' }} + - name: Login to ghcr.io + if: ${{ inputs.registry == 'ghcr' }} run: podman login --username ${{ github.repository_owner }} --password ${{ secrets.GITHUB_TOKEN }} ghcr.io - name: Build and Push Image (quay.io) @@ -79,9 +79,9 @@ jobs: 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 (ghrc.io) - if: ${{ inputs.registry == 'ghrc' }} - id: build-image-ghrc + - name: Build and Push Image (ghcr.io) + if: ${{ inputs.registry == 'ghcr' }} + id: build-image-ghcr 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 + podman build -t ghcr.io/redhat-developer/podman-desktop-redhat-account-ext:latest . + podman push ghcr.io/redhat-developer/podman-desktop-redhat-account-ext:latest diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c922754f..0870c8eb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -27,4 +27,4 @@ jobs: uses: redhat-developer/podman-desktop-redhat-account-ext/.github/workflows/build.yaml@main with: runs-on: ubuntu-latest - registry: 'ghrc' + registry: 'ghcr'