From 1554d51b375dc35416aa6a8f1b3e436e6a3de6f0 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Fri, 25 Mar 2022 14:27:41 +0000 Subject: [PATCH] Pass DOCKER_TOKEN secret into Docker workflow --- .github/workflows/dendrite.yml | 2 ++ .github/workflows/docker.yml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/dendrite.yml b/.github/workflows/dendrite.yml index 735ea911..99747f79 100644 --- a/.github/workflows/dendrite.yml +++ b/.github/workflows/dendrite.yml @@ -342,3 +342,5 @@ jobs: if: github.repository == 'matrix-org/dendrite' && github.ref_name == 'main' needs: [integration-tests-done] uses: matrix-org/dendrite/.github/workflows/docker.yml@main + secrets: + DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 129a8048..64258792 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -7,6 +7,9 @@ on: types: [published] workflow_dispatch: # A build was manually requested workflow_call: # Another pipeline called us + secrets: + DOCKER_TOKEN: + required: true env: DOCKER_NAMESPACE: matrixdotorg