From c62cf108bee00d07c3336f006356993ef2efbc8a Mon Sep 17 00:00:00 2001 From: nicktrn <55853254+nicktrn@users.noreply.github.com> Date: Thu, 1 May 2025 23:08:31 +0100 Subject: [PATCH] add supervisor to publish workflow --- .github/workflows/publish-worker-re2.yml | 16 ++++++++-------- .github/workflows/publish-worker.yml | 16 ++++++++-------- .github/workflows/publish.yml | 7 +++++++ 3 files changed, 23 insertions(+), 16 deletions(-) diff --git a/.github/workflows/publish-worker-re2.yml b/.github/workflows/publish-worker-re2.yml index 258af99bb..bfe429593 100644 --- a/.github/workflows/publish-worker-re2.yml +++ b/.github/workflows/publish-worker-re2.yml @@ -85,11 +85,11 @@ jobs: REPOSITORY: ${{ steps.get_repository.outputs.repo }} IMAGE_TAG: ${{ steps.get_tag.outputs.tag }} - - name: 🐙 Push 'v3' tag to GitHub Container Registry - if: steps.get_tag.outputs.is_semver == 'true' - run: | - docker tag infra_image "$REGISTRY/$REPOSITORY:v3" - docker push "$REGISTRY/$REPOSITORY:v3" - env: - REGISTRY: ghcr.io/triggerdotdev - REPOSITORY: ${{ steps.get_repository.outputs.repo }} + # - name: 🐙 Push 'v3' tag to GitHub Container Registry + # if: steps.get_tag.outputs.is_semver == 'true' + # run: | + # docker tag infra_image "$REGISTRY/$REPOSITORY:v3" + # docker push "$REGISTRY/$REPOSITORY:v3" + # env: + # REGISTRY: ghcr.io/triggerdotdev + # REPOSITORY: ${{ steps.get_repository.outputs.repo }} diff --git a/.github/workflows/publish-worker.yml b/.github/workflows/publish-worker.yml index 8c0d7ea3c..74a70d836 100644 --- a/.github/workflows/publish-worker.yml +++ b/.github/workflows/publish-worker.yml @@ -77,11 +77,11 @@ jobs: REPOSITORY: ${{ steps.get_repository.outputs.repo }} IMAGE_TAG: ${{ steps.get_tag.outputs.tag }} - - name: 🐙 Push 'v3' tag to GitHub Container Registry - if: steps.get_tag.outputs.is_semver == 'true' - run: | - docker tag infra_image "$REGISTRY/$REPOSITORY:v3" - docker push "$REGISTRY/$REPOSITORY:v3" - env: - REGISTRY: ghcr.io/triggerdotdev - REPOSITORY: ${{ steps.get_repository.outputs.repo }} + # - name: 🐙 Push 'v3' tag to GitHub Container Registry + # if: steps.get_tag.outputs.is_semver == 'true' + # run: | + # docker tag infra_image "$REGISTRY/$REPOSITORY:v3" + # docker push "$REGISTRY/$REPOSITORY:v3" + # env: + # REGISTRY: ghcr.io/triggerdotdev + # REPOSITORY: ${{ steps.get_repository.outputs.repo }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0f011c6ca..674b410ea 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -68,3 +68,10 @@ jobs: secrets: inherit with: image_tag: ${{ inputs.image_tag }} + + publish-worker-v4: + needs: [typecheck, units] + uses: ./.github/workflows/publish-worker-v4.yml + secrets: inherit + with: + image_tag: ${{ inputs.image_tag }}