From d439ed5c81a8f17c1dfce7be7cf6dc66ce0a0cb1 Mon Sep 17 00:00:00 2001 From: Rahul Kumar Date: Mon, 15 Aug 2022 06:16:50 +0530 Subject: [PATCH] Update GHCR name to repo name in publish wf (#1721) --- .github/workflows/publish-canary.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-canary.yaml b/.github/workflows/publish-canary.yaml index cecab759..9ac0e860 100644 --- a/.github/workflows/publish-canary.yaml +++ b/.github/workflows/publish-canary.yaml @@ -22,11 +22,11 @@ on: # https://docs.github.com/en/rest/overview/permissions-required-for-github-apps permissions: contents: read - packages: write + packages: write jobs: canary-build: - name: Build and Publish Canary Image + name: Build and Publish Canary Image runs-on: ubuntu-latest env: DOCKERHUB_USERNAME: ${{ secrets.DOCKER_USER }} @@ -53,6 +53,6 @@ jobs: push: true tags: | ${{ 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-to: type=gha,mode=max,scope=arc-canary