|
@@ -34,9 +34,7 @@ jobs:
|
|
|
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }}
|
|
|
type=ref,event=branch
|
|
|
type=sha,enable=true,priority=100,prefix=,suffix=,format=long
|
|
|
- type=semver,pattern={{major}}.{{minor}}.{{patch}}
|
|
|
- type=semver,pattern={{major}}.{{minor}}
|
|
|
- type=semver,pattern={{major}}
|
|
|
+ type=raw,value=${{ github.ref_name }},enable=${{ startsWith(github.ref, 'refs/tags/') }}
|
|
|
|
|
|
- name: Build and push
|
|
|
uses: docker/build-push-action@v4
|