From b742a0d471fc32bc63cd0f11358891219d4bc796 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Wed, 8 Feb 2023 18:14:57 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20github:=20Fix=20inheriting=20sec?= =?UTF-8?q?rets...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-subimage.yml | 2 +- .github/workflows/build.yml | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-subimage.yml b/.github/workflows/build-subimage.yml index c076a14..eaa3ed4 100644 --- a/.github/workflows/build-subimage.yml +++ b/.github/workflows/build-subimage.yml @@ -7,7 +7,7 @@ on: secrets: DOCKERHUB_USERNAME: required: true - DOCKERHUB_PASSWORD: + DOCKERHUB_TOKEN: required: true diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5ac9d64..5cc77ff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,7 @@ name: build on: + workflow_dispatch: push: @@ -9,6 +10,7 @@ on: - 'test/github-actions' jobs: + build-core: strategy: matrix: @@ -16,9 +18,7 @@ jobs: uses: ./.github/workflows/build-subimage.yml with: subimage: ${{ matrix.subimage }} - secrets: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} + secrets: inherit build-rest: strategy: @@ -27,6 +27,4 @@ jobs: uses: ./.github/workflows/build-subimage.yml with: subimage: ${{ matrix.subimage }} - secrets: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} + secrets: inherit