Skip to content

Commit ed58c2e

Browse files
committed
Add secrets: inherit
1 parent dcf16d8 commit ed58c2e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/build-docker-artifacts-trigger-push-to-customer.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ permissions:
3434

3535
jobs:
3636
get-customers:
37-
name: Trigger push docker artifacts to ${{ inputs.customers || 'all' }}
37+
name: Get customers to push to (${{ inputs.customers || 'all' }})
3838
runs-on: ${{ inputs.runs_on || 'ubuntu-22.04' }}
3939
outputs:
4040
result: ${{ steps.get-customers.outputs.result }}
@@ -88,6 +88,7 @@ jobs:
8888
REPOSITORY: ${{ github.repository }}
8989

9090
trigger-push:
91+
name: Trigger push docker artifacts to ${{ matrix.customer.customer }}
9192
needs: get-customers
9293
strategy:
9394
fail-fast: true

.github/workflows/build-docker-artifacts.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ jobs:
295295
# if? When should we do this? Always? Only for certain branches? If so, how should we define that, in the config.json?
296296
needs: [retag-images, get-flavors]
297297
uses: datavisyn/github-workflows/.github/workflows/build-docker-artifacts-trigger-push-to-customer.yml@mp/push_docker
298+
secrets: inherit
298299
with:
299300
customers: ${{ fromJson(needs.get-flavors.outputs.result).customers }}
300301
branch: ${{ inputs.branch }}

0 commit comments

Comments
 (0)