Skip to content

Commit

Permalink
fix: allow cache push through PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobmoellerdev committed Nov 29, 2024
1 parent b07a7ff commit 03921e5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ env:
components: '["ocmcli", "helminstaller", "helmdemo", "subchartsdemo", "ecrplugin"]'
IMAGE_PLATFORMS: 'linux/amd64 linux/arm64'
PLATFORMS: 'windows/amd64 darwin/arm64 darwin/amd64 linux/amd64 linux/arm64'
BUILDX_CACHE_PUSH: ${{ github.ref == 'refs/heads/main' }}
BUILDX_CACHE_PUSH: true
BUILDX_CACHE_REF_BASE: ghcr.io/${{ github.repository }}/buildx-cache

jobs:
Expand All @@ -50,6 +50,9 @@ jobs:
input: ${{ env.components }}

build:
permissions:
contents: read
packages: write
name: "Build"
needs: define-matrix
strategy:
Expand Down

0 comments on commit 03921e5

Please sign in to comment.