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