Skip to content

Commit 0599d6f

Browse files
committed
chore: pass GITHUB_TOKEN to Docker build
1 parent 638a3a9 commit 0599d6f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/release.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ jobs:
4747
file_glob: true
4848
docker:
4949
needs: semantic-release
50+
permissions:
51+
contents: read
52+
packages: write
5053
strategy:
5154
fail-fast: false
5255
matrix:
@@ -81,6 +84,8 @@ jobs:
8184
platforms: ${{ matrix.platform }}
8285
outputs: type=image,push-by-digest=true,name-canonical=true,push=true
8386
tags: flanksource/batch-runner
87+
build-args: |
88+
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
8489
8590
- name: Export digest
8691
run: |

0 commit comments

Comments
 (0)