Skip to content

Commit 6e3efa1

Browse files
committed
fix: explicitely list secrets to pass
1 parent 7d245d9 commit 6e3efa1

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

.github/workflows/bleeding.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ permissions:
1818
jobs:
1919
ci:
2020
uses: ./.github/workflows/container-ci.yml
21-
secrets: inherit
21+
secrets:
22+
DOCKERHUB_ACCESS_TOKEN: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
23+
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2225
permissions:
2326
security-events: write
2427
packages: write

.github/workflows/container-ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ on:
66
variant:
77
required: true
88
type: string
9+
secrets:
10+
DOCKERHUB_ACCESS_TOKEN:
11+
description: Docker Hub access token
12+
DOCKERHUB_USERNAME:
13+
description: Docker Hub username
14+
GITHUB_TOKEN:
15+
description: GitHub token
916

1017
permissions:
1118
contents: read

.github/workflows/dockerimage.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ permissions:
1818
jobs:
1919
ci:
2020
uses: ./.github/workflows/container-ci.yml
21-
secrets: inherit
21+
secrets:
22+
DOCKERHUB_ACCESS_TOKEN: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
23+
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2225
permissions:
2326
security-events: write
2427
packages: write

0 commit comments

Comments
 (0)