Skip to content

Commit

Permalink
Fix GitHub token missing in Docker build
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Johnson <[email protected]>
  • Loading branch information
t1m0thyj committed Aug 20, 2024
1 parent c945814 commit 6787034
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ jobs:
id: build
uses: docker/build-push-action@v5
with:
build-args: |
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
${{ inputs.build-args }}
build-args: ${{ inputs.build-args }}
context: ${{ inputs.path }}
push: ${{ inputs.push }}
platforms: ${{ inputs.qemu && 'linux/amd64,linux/arm64' || 'linux/amd64' }}
secrets: |
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
tags: ${{ inputs.tags || env.DEFAULT_TAGS }}

- name: Image Digest
Expand Down

0 comments on commit 6787034

Please sign in to comment.