Skip to content

Commit

Permalink
ci: fix secret passing
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseylin committed Jul 26, 2023
1 parent 649db0f commit b74bc23
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: build-docs
on:
workflow_call:
secrets: inherit
secrets:
GITHUB_TOKEN:
required: true
push:
branches:
- prod
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ on:
sem_ver:
required: false
type: string
secrets: inherit
secrets:
GITLAB_REGISTRY_USERNAME:
required: true
GITLAB_REGISTRY_PASSWORD:
required: true
push:
tags:
- "v*"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
build-docs:
needs: release-pr
uses: ./.github/workflows/build-docs.yml
secrets: inherit
build-images:
needs: release-pr
uses: ./.github/workflows/build-images.yml
secrets: inherit

0 comments on commit b74bc23

Please sign in to comment.