From 612cbbc1bd056bd37f9de2d6deefcb04ffc0b560 Mon Sep 17 00:00:00 2001 From: Daniel Mikusa Date: Fri, 26 Aug 2022 22:56:50 -0400 Subject: [PATCH] Use the IMPLEMENTATION_GITHUB_TOKEN for the Registry (#23) This was configured to use GITHUB_TOKEN for publishing to the Registry, which doesn't have enough permissions. This PR switches to using IMPLEMENTATION_GITHUB_TOKEN which should have sufficient permissions. Signed-off-by: Daniel Mikusa Signed-off-by: Daniel Mikusa --- .github/pipeline-descriptor.yml | 2 +- .github/workflows/pb-create-package.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/pipeline-descriptor.yml b/.github/pipeline-descriptor.yml index ab89cae..1be9e24 100644 --- a/.github/pipeline-descriptor.yml +++ b/.github/pipeline-descriptor.yml @@ -9,7 +9,7 @@ codeowners: package: repository: docker.io/buildpacksio/profile register: true - registry_token: ${{ secrets.GITHUB_TOKEN }} + registry_token: ${{ secrets.IMPLEMENTATION_GITHUB_TOKEN }} docker_credentials: - registry: docker.io diff --git a/.github/workflows/pb-create-package.yml b/.github/workflows/pb-create-package.yml index 19eb635..eaf891d 100644 --- a/.github/workflows/pb-create-package.yml +++ b/.github/workflows/pb-create-package.yml @@ -220,5 +220,5 @@ jobs: with: address: docker.io/buildpacksio/profile@${{ steps.package.outputs.digest }} id: buildpacksio/profile - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.IMPLEMENTATION_GITHUB_TOKEN }} version: ${{ steps.version.outputs.version }}