Skip to content

Commit dc27da6

Browse files
committed
Fix syntax in Docker build workflow to correctly enable 'latest' version for tagged releases
1 parent 38eb23a commit dc27da6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/docker-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
type=semver,pattern={{version}}
4040
type=semver,pattern={{major}}.{{minor}}
4141
type=raw,value=latest,enable={{is_default_branch}}
42-
type=raw,value=latest,enable={{startsWith(github.ref, 'refs/tags/v')}}
42+
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/v') }}
4343
4444
- name: Build and push
4545
uses: docker/build-push-action@v6

0 commit comments

Comments
 (0)