add git tag support to build
This commit is contained in:
parent
a226155e9a
commit
772bd4a7f6
|
@ -30,6 +30,7 @@ jobs:
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
|
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
|
||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
|
type=semver,pattern={{raw}}
|
||||||
type=sha
|
type=sha
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
Loading…
Reference in New Issue