Update GHCR name to repo name in publish wf (#1721)

This commit is contained in:
Rahul Kumar 2022-08-15 06:16:50 +05:30 committed by GitHub
parent 58c2bdf2bb
commit d439ed5c81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -22,11 +22,11 @@ on:
# https://docs.github.com/en/rest/overview/permissions-required-for-github-apps # https://docs.github.com/en/rest/overview/permissions-required-for-github-apps
permissions: permissions:
contents: read contents: read
packages: write packages: write
jobs: jobs:
canary-build: canary-build:
name: Build and Publish Canary Image name: Build and Publish Canary Image
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKER_USER }} DOCKERHUB_USERNAME: ${{ secrets.DOCKER_USER }}
@ -53,6 +53,6 @@ jobs:
push: true push: true
tags: | tags: |
${{ env.DOCKERHUB_USERNAME }}/actions-runner-controller:canary ${{ env.DOCKERHUB_USERNAME }}/actions-runner-controller:canary
ghcr.io/actions-runner-controller/actions-runner-controller:canary ghcr.io/${{ github.repository }}:canary
cache-from: type=gha,scope=arc-canary cache-from: type=gha,scope=arc-canary
cache-to: type=gha,mode=max,scope=arc-canary cache-to: type=gha,mode=max,scope=arc-canary