Skip to content

Commit

Permalink
Make sure a new Docker image is version tagged only when merged to main.
Browse files Browse the repository at this point in the history
  • Loading branch information
shuguet authored Mar 28, 2024
1 parent 2e01909 commit 4e66e74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
tags: |
type=schedule
type=sha
type=raw,value=${{ steps.get_chart_version.outputs.result }}
type=raw,value=${{ steps.get_chart_version.outputs.result }},enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
# This action can be useful if you want to add emulation
Expand Down

0 comments on commit 4e66e74

Please sign in to comment.