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 <timothy.johnson@broadcom.com>
  • Loading branch information
t1m0thyj committed Aug 20, 2024
1 parent c945814 commit 2ae2a63
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' }}
secret-envs: |
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
tags: ${{ inputs.tags || env.DEFAULT_TAGS }}

- name: Image Digest
Expand Down

0 comments on commit 2ae2a63

Please sign in to comment.