🚧 github: Explicitly pass secrets

test/github-actions
Gerber, Mike 2 years ago
parent 0022e4a275
commit 6bcbba036d

@ -16,7 +16,9 @@ jobs:
uses: ./.github/workflows/build-subimage.yml uses: ./.github/workflows/build-subimage.yml
with: with:
subimage: ${{ matrix.subimage }} subimage: ${{ matrix.subimage }}
secrets: inherit secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
build-rest: build-rest:
strategy: strategy:
@ -25,4 +27,6 @@ jobs:
uses: ./.github/workflows/build-subimage.yml uses: ./.github/workflows/build-subimage.yml
with: with:
subimage: ${{ matrix.subimage }} subimage: ${{ matrix.subimage }}
secrets: inherit secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}

Loading…
Cancel
Save