Skip to content

Commit

Permalink
Add permission to push packegs to ghcr
Browse files Browse the repository at this point in the history
  • Loading branch information
KMKoushik committed Jun 24, 2024
1 parent b23c025 commit 26b70e0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
build_and_publish_platform_containers:
name: Build and publish platform containers
runs-on: ubuntu-latest
permissions:
packages: write
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -74,6 +76,8 @@ jobs:
create_and_publish_manifest:
name: Create and publish manifest
runs-on: ubuntu-latest
permissions:
packages: write
needs: build_and_publish_platform_containers
steps:
- name: Checkout
Expand All @@ -92,7 +96,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GH_TOKEN }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Create and push DockerHub manifest
run: |
Expand Down

0 comments on commit 26b70e0

Please sign in to comment.