Skip to content

Commit 2d7b15f

Browse files
authored
fix(ci): inherit secrets into reusable docker.yml from release-candidate (#1054)
1 parent e00959d commit 2d7b15f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/release-candidate.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,10 @@ jobs:
379379
needs: [guard, publish]
380380
if: needs.guard.outputs.should_run == 'true' && needs.publish.outputs.vtag != ''
381381
uses: ./.github/workflows/docker.yml
382+
# Reusable workflows do not receive caller secrets unless inherited; without
383+
# this, DOCKERHUB_* / GITHUB_TOKEN are empty in docker.yml → "Username and
384+
# password required" on Docker Hub login (see same pattern on `ci:` above).
385+
secrets: inherit
382386
permissions:
383387
contents: read
384388
packages: write

0 commit comments

Comments
 (0)