Skip to content

Commit

Permalink
fix: ghrc => ghcr in build.yaml
Browse files Browse the repository at this point in the history
i
Signed-off-by: Denis Golovin <[email protected]>
  • Loading branch information
dgolovin committed Feb 15, 2024
1 parent cf18d63 commit 072ce2b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 072ce2b

Please sign in to comment.