Skip to content

Commit 1f5b279

Browse files
Add build-args to docker image builder action
1 parent bbd447c commit 1f5b279

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/docker.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ jobs:
5454
tags: |
5555
ghcr.io/onebusaway/${{ matrix.name }}:latest
5656
ghcr.io/onebusaway/${{ matrix.name }}:${{ github.sha }}
57+
build-args: |
58+
PAT_USERNAME_FOR_GH=${{ secrets.PAT_USERNAME_FOR_GH }}
59+
PAT_TOKEN_FOR_GH=${{ secrets.PAT_TOKEN_FOR_GH }}
5760
5861
buildx-release:
5962
if: ${{ github.event_name == 'release' }}
@@ -98,3 +101,6 @@ jobs:
98101
push: true
99102
tags: |
100103
opentransitsoftwarefoundation/${{ matrix.name }}:${{ env.IMAGE_TAG }}
104+
build-args: |
105+
PAT_USERNAME_FOR_GH=${{ secrets.PAT_USERNAME_FOR_GH }}
106+
PAT_TOKEN_FOR_GH=${{ secrets.PAT_TOKEN_FOR_GH }}

0 commit comments

Comments
 (0)