Skip to content

Commit

Permalink
Update CI to push built image when pipeline is manually triggered
Browse files Browse the repository at this point in the history
  • Loading branch information
abigailalexander committed May 29, 2024
1 parent 50876c1 commit 920feee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 920feee

Please sign in to comment.