🚧 github: Fix inheriting secrets...

This commit is contained in:
Gerber, Mike 2023-02-08 18:14:57 +01:00
parent 6bcbba036d
commit b742a0d471
2 changed files with 5 additions and 7 deletions

View file

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

View file

@ -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 }}