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' if: github.repository == 'matrix-org/dendrite' && github.ref_name == 'main'
needs: [integration-tests-done] needs: [integration-tests-done]
uses: matrix-org/dendrite/.github/workflows/docker.yml@main uses: matrix-org/dendrite/.github/workflows/docker.yml@main
secrets:
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}

View file

@ -7,6 +7,9 @@ on:
types: [published] types: [published]
workflow_dispatch: # A build was manually requested workflow_dispatch: # A build was manually requested
workflow_call: # Another pipeline called us workflow_call: # Another pipeline called us
secrets:
DOCKER_TOKEN:
required: true
env: env:
DOCKER_NAMESPACE: matrixdotorg DOCKER_NAMESPACE: matrixdotorg