Skip to content

Commit

Permalink
fix(ci): use master as default branch conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
meysam81 committed Feb 7, 2024
1 parent 23e328c commit b0b51ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
images: |
${{ inputs.image-name }}
tags: |
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master') }}
- id: build-push
name: Build and push
uses: docker/build-push-action@v3
Expand Down

0 comments on commit b0b51ed

Please sign in to comment.