Pass DOCKER_TOKEN secret into Docker workflow
This commit is contained in:
parent
565b5423ea
commit
1554d51b37
2
.github/workflows/dendrite.yml
vendored
2
.github/workflows/dendrite.yml
vendored
|
@ -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 }}
|
||||||
|
|
3
.github/workflows/docker.yml
vendored
3
.github/workflows/docker.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue