aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-03-25 14:27:41 +0000
committerNeil Alexander <neilalexander@users.noreply.github.com>2022-03-25 14:27:41 +0000
commit1554d51b375dc35416aa6a8f1b3e436e6a3de6f0 (patch)
tree3e682dc55af240a7df8f480041570d72bdb53a32
parent565b5423ea53bf8b6ab54041ef162c1eba438214 (diff)
Pass DOCKER_TOKEN secret into Docker workflow
-rw-r--r--.github/workflows/dendrite.yml2
-rw-r--r--.github/workflows/docker.yml3
2 files changed, 5 insertions, 0 deletions
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