Pass DOCKER_TOKEN secret into Docker workflow

This commit is contained in:
Neil Alexander 2022-03-25 14:27:41 +00:00
parent 565b5423ea
commit 1554d51b37
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944
2 changed files with 5 additions and 0 deletions

View File

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

View File

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