fix: latest docker tag
This commit is contained in:
4
.github/workflows/docker-build.yml
vendored
4
.github/workflows/docker-build.yml
vendored
@@ -30,9 +30,11 @@ jobs:
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: ghcr.io/${{ github.repository }}
|
||||
flavor: |
|
||||
latest=false
|
||||
tags: |
|
||||
type=ref,event=tag
|
||||
type=raw,value=latest,enable={{ and is_default_branch (not (contains ref_name "-")) }}
|
||||
type=raw,value=latest,enable=${{ !contains(github.ref, '-') }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
id: build
|
||||
|
Reference in New Issue
Block a user