From 640242b0a09cb21d248ecab062e898a6ff03700d Mon Sep 17 00:00:00 2001 From: Carlos Paniagua Date: Fri, 5 Apr 2024 11:54:05 -0400 Subject: [PATCH] fix: update trigger-docker-julia.yml to trigger Docker build on release --- .github/workflows/trigger-docker-julia.yml | 35 +++++++++++----------- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/.github/workflows/trigger-docker-julia.yml b/.github/workflows/trigger-docker-julia.yml index 66d67d7e..9fe62e59 100644 --- a/.github/workflows/trigger-docker-julia.yml +++ b/.github/workflows/trigger-docker-julia.yml @@ -1,22 +1,21 @@ # trigger-docker-julia.yml name: Trigger Docker build - Julia on: - push: - branches: - - main + release: + types: [published] jobs: - trigger_workflow: - runs-on: ubuntu-latest - steps: - - uses: convictional/trigger-workflow-and-wait@v1.6.5 - name: Trigger Julia Docker build - with: - owner: WilhelmusLab - repo: ice-floe-tracker-pipeline - github_token: ${{ secrets.TRIGGER_PAT }} - workflow_file_name: build-docker-julia.yml - ref: main - wait_interval: 15 - propagate_failure: true - trigger_workflow: true - wait_workflow: true \ No newline at end of file + trigger_workflow: + runs-on: ubuntu-latest + steps: + - uses: convictional/trigger-workflow-and-wait@v1.6.5 + name: Trigger Julia Docker build + with: + owner: WilhelmusLab + repo: ice-floe-tracker-pipeline + github_token: ${{ secrets.TRIGGER_PAT }} + workflow_file_name: build-docker-julia.yml + ref: main + wait_interval: 15 + propagate_failure: true + trigger_workflow: true + wait_workflow: true