Skip to content

Commit dcf16d8

Browse files
committed
Trigger push-to-customer via workflow uses
1 parent 753abb5 commit dcf16d8

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

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

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -294,17 +294,8 @@ jobs:
294294
name: Push images to customers
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]
297-
runs-on: ${{ inputs.runs_on || 'ubuntu-22.04' }}
298-
steps:
299-
- name: Checkout github-workflows repository
300-
uses: actions/checkout@v4
301-
with:
302-
repository: datavisyn/github-workflows
303-
ref: ${{ env.WORKFLOW_BRANCH }}
304-
path: ./tmp/github-workflows
305-
- name: Trigger push docker artifacts to ${{ fromJson(needs.get-flavors.outputs.result).customers }}
306-
uses: ./tmp/github-workflows/.github/workflows/build-docker-artifacts-trigger-push-to-customer
307-
with:
308-
customers: ${{ fromJson(needs.get-flavors.outputs.result).customers }}
309-
branch: ${{ inputs.branch }}
310-
runs_on: ${{ inputs.runs_on || 'ubuntu-22.04' }}
297+
uses: datavisyn/github-workflows/.github/workflows/build-docker-artifacts-trigger-push-to-customer.yml@mp/push_docker
298+
with:
299+
customers: ${{ fromJson(needs.get-flavors.outputs.result).customers }}
300+
branch: ${{ inputs.branch }}
301+
runs_on: ${{ inputs.runs_on || 'ubuntu-22.04' }}

0 commit comments

Comments
 (0)