From 31c64b3c781c71349e57bfcad022c5c31d2fd9ac Mon Sep 17 00:00:00 2001 From: Ivan Aksamentov Date: Wed, 10 Jul 2024 04:13:47 +0200 Subject: [PATCH] chore(ci): trigger nextstrain/docker-base rebuild on release (#1505) Co-authored-by: Victor Lin <13424970+victorlin@users.noreply.github.com> --- .github/workflows/nextstrain-docker-base.yml | 30 ++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/nextstrain-docker-base.yml diff --git a/.github/workflows/nextstrain-docker-base.yml b/.github/workflows/nextstrain-docker-base.yml new file mode 100644 index 000000000..450bc5308 --- /dev/null +++ b/.github/workflows/nextstrain-docker-base.yml @@ -0,0 +1,30 @@ +# Trigger rebuild in https://github.com/nextstrain/docker-base +name: nextstrain-docker-base + +on: + release: + types: + - released + +concurrency: + group: nextstrain-docker-base-${{ github.workflow }}-${{ github.ref_type }}-${{ github.event.pull_request.number || github.ref || github.run_id }} + cancel-in-progress: true + +defaults: + run: + shell: bash -euxo pipefail {0} + +env: + GITHUB_REPOSITORY_URL: ${{ github.server_url }}/${{ github.repository }} + VERBOSE: 1 + +jobs: + + trigger-build-nextstrain-docker-base: + name: "Trigger build in nextstrain/docker-base" + runs-on: ubuntu-22.04 + + steps: + - run: gh workflow run ci.yml --repo nextstrain/docker-base + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN_NEXTSTRAIN_BOT_WORKFLOW_DISPATCH }}