🚧 github: Fix inheriting secrets...

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

@ -7,7 +7,7 @@ on:
secrets: secrets:
DOCKERHUB_USERNAME: DOCKERHUB_USERNAME:
required: true required: true
DOCKERHUB_PASSWORD: DOCKERHUB_TOKEN:
required: true required: true

@ -1,6 +1,7 @@
name: build name: build
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
@ -9,6 +10,7 @@ on:
- 'test/github-actions' - 'test/github-actions'
jobs: jobs:
build-core: build-core:
strategy: strategy:
matrix: matrix:
@ -16,9 +18,7 @@ jobs:
uses: ./.github/workflows/build-subimage.yml uses: ./.github/workflows/build-subimage.yml
with: with:
subimage: ${{ matrix.subimage }} subimage: ${{ matrix.subimage }}
secrets: secrets: inherit
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
build-rest: build-rest:
strategy: strategy:
@ -27,6 +27,4 @@ jobs:
uses: ./.github/workflows/build-subimage.yml uses: ./.github/workflows/build-subimage.yml
with: with:
subimage: ${{ matrix.subimage }} subimage: ${{ matrix.subimage }}
secrets: secrets: inherit
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}

Loading…
Cancel
Save