From 920feeee2fe36ce2324900e886b80eba5a102761 Mon Sep 17 00:00:00 2001 From: Abigail Alexander Date: Wed, 29 May 2024 09:54:38 +0100 Subject: [PATCH] Update CI to push built image when pipeline is manually triggered --- .github/workflows/code.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/code.yml b/.github/workflows/code.yml index c1726ed..9a6d6e1 100644 --- a/.github/workflows/code.yml +++ b/.github/workflows/code.yml @@ -189,7 +189,7 @@ jobs: type=semver,pattern={{version}},value=${{ env.LATEST_TAG }},enable=${{github.event_name == 'workflow_dispatch'}} - name: Push cached image to container registry - if: github.ref_type == 'tag' || github.ref_name == 'integration' + if: github.ref_type == 'tag' || github.ref_name == 'integration' || github.event_name == 'workflow_dispatch' uses: docker/build-push-action@v3 # This does not build the image again, it will find the image in the # Docker cache and publish it