Skip to content

Commit f34ad5f

Browse files
committed
chore(ci): pass dockerhub secrets from parent
though they only exist in the environment
1 parent 6b6dcd8 commit f34ad5f

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,8 @@ jobs:
423423
contents: read
424424
secrets:
425425
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
426+
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
427+
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
426428

427429

428430
packages-cleanup:

.github/workflows/docker-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ on:
44
workflow_call:
55
secrets:
66
DOCKERHUB_USERNAME:
7-
required: false
7+
required: true
88
DOCKERHUB_TOKEN:
9-
required: false
9+
required: true
1010
DISCORD_WEBHOOK:
1111
required: false
1212
workflow_dispatch:

0 commit comments

Comments
 (0)