Skip to content

Commit

Permalink
Try to fix docker build requires access token
Browse files Browse the repository at this point in the history
  • Loading branch information
franksn90 committed Mar 12, 2024
1 parent 9094bf7 commit 40cc933
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/dockerBuildAndPush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,16 @@ jobs:
type=raw,value=latest
- name: Build and push Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
secrets: |
GIT_AUTH_TOKEN=${{ secrets.READ_PACKAGES }}
github-token: ${{ secrets.READ_PACKAGES }}
build-args: |
EXECUTION_ENV=ci
GITHUB_PACKAGE_READ_TOKEN=${{ secrets.PUBLISH_PACKAGES }}
secrets: |
GIT_AUTH_TOKEN=${{ secrets.READ_PACKAGES }}

0 comments on commit 40cc933

Please sign in to comment.