Skip to content

Commit

Permalink
Merge pull request #102 from OneBusAway/images
Browse files Browse the repository at this point in the history
Add build-args to docker image builder action
  • Loading branch information
aaronbrethorst authored Sep 16, 2024
2 parents bbd447c + 1f5b279 commit 86226a1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ jobs:
tags: |
ghcr.io/onebusaway/${{ matrix.name }}:latest
ghcr.io/onebusaway/${{ matrix.name }}:${{ github.sha }}
build-args: |
PAT_USERNAME_FOR_GH=${{ secrets.PAT_USERNAME_FOR_GH }}
PAT_TOKEN_FOR_GH=${{ secrets.PAT_TOKEN_FOR_GH }}
buildx-release:
if: ${{ github.event_name == 'release' }}
Expand Down Expand Up @@ -98,3 +101,6 @@ jobs:
push: true
tags: |
opentransitsoftwarefoundation/${{ matrix.name }}:${{ env.IMAGE_TAG }}
build-args: |
PAT_USERNAME_FOR_GH=${{ secrets.PAT_USERNAME_FOR_GH }}
PAT_TOKEN_FOR_GH=${{ secrets.PAT_TOKEN_FOR_GH }}

0 comments on commit 86226a1

Please sign in to comment.