Skip to content

Commit

Permalink
Fix ghcr.io registry login
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuru committed Jun 17, 2024
1 parent f0751d0 commit 51aa386
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/gh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ on:
env:
gh_VERSION: ${{ inputs.package_version_override }}
gh_RELEASE: ${{ inputs.release_number_override }}
AGENT_TOOLSDIRECTORY: "/__t"

permissions:
contents: read
Expand Down Expand Up @@ -107,7 +106,7 @@ jobs:
image: ghcr.io/cloudposse/packages-apkbuild:${{matrix.alpine}}
credentials:
username: ${{ github.actor }}
password: ${{ secrets.github_token }}
password: "${{ secrets.GITHUB_TOKEN }}"

steps:
# Checkout the packages repo so we can build the packages as a monorepo
Expand Down Expand Up @@ -217,8 +216,8 @@ jobs:
container:
image: ghcr.io/cloudposse/packages-${{matrix.package-type}}build:latest
credentials:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
username: "${{ github.actor }}"
password: "${{ secrets.GITHUB_TOKEN }}"

steps:
# Checkout the packages repo so we can build the packages as a monorepo
Expand Down

0 comments on commit 51aa386

Please sign in to comment.