Skip to content

Commit

Permalink
another test
Browse files Browse the repository at this point in the history
  • Loading branch information
SciLor committed Aug 14, 2024
1 parent 2e6c4b8 commit 97c909d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/publish_docker_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
outputs:
matrix_json: ${{ steps.discover_workflows.outputs.matrix_json }}
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Discover Workflows
id: discover_workflows
run: |
Expand All @@ -18,4 +21,13 @@ jobs:
echo "Found workflows: $workflows"
# Convert to JSON array
matrix_json=$(echo "$workflows" | tr ' ' '\n' | sed 's/^/"/;s/$/"/' | paste -sd, - | sed 's/^/[ /;s/$/ ]/')
echo "matrix_json=$matrix_json" >> $GITHUB_ENV
echo "matrix_json=$matrix_json" >> $GITHUB_ENV
- name: Trigger Workflow Debian
uses: ./.github/workflows/publish_docker_matrix_debian.yml

- name: Trigger Workflow Ubuntu
uses: ./.github/workflows/publish_docker_matrix_ubuntu.yml

- name: Trigger Workflow Alpine
uses: ./.github/workflows/publish_docker_matrix_alpine.yml

0 comments on commit 97c909d

Please sign in to comment.