Skip to content

Commit 560733f

Browse files
committed
trying to get secrets to work
1 parent c1715cd commit 560733f

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ on:
1111
workflow_call:
1212
inputs:
1313
tag:
14-
type: string
1514
required: true
16-
secrets: # Secrets are not passed to the workflow by default
15+
secrets:
1716
DOCKERHUB_PASSWORD:
1817
required: true
1918

.github/workflows/release.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ on:
44
inputs:
55
tag:
66
required: true
7-
secrets:
8-
DOCKERHUB_PASSWORD:
9-
required: true
107

118
permissions:
129
contents: read
@@ -17,7 +14,7 @@ jobs:
1714
with:
1815
tag: ${{ github.event.inputs.tag }}
1916
secrets:
20-
DOCKERHUB_PASSWORD: ${{ github.event.secrets.DOCKERHUB_PASSWORD }}
17+
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
2118
prepare-release:
2219
needs: build
2320
permissions:

0 commit comments

Comments
 (0)