chore: switch to semver for docker.yml
parent
c76edeaa80
commit
ffa87dbfe5
|
|
@ -66,14 +66,11 @@ jobs:
|
||||||
images: |
|
images: |
|
||||||
ghcr.io/${{ env.IMAGE_NAME }}
|
ghcr.io/${{ env.IMAGE_NAME }}
|
||||||
${{ env.IMAGE_NAME }}
|
${{ env.IMAGE_NAME }}
|
||||||
flavor:
|
|
||||||
latest=false
|
|
||||||
# generate Docker tags based on the following events/attributes
|
# generate Docker tags based on the following events/attributes
|
||||||
tags: |
|
tags: |
|
||||||
type=schedule,pattern=nightly
|
type=schedule,pattern=nightly
|
||||||
type=schedule,pattern={{date 'YYYYMMDD'}}
|
type=schedule,pattern={{date 'YYYYMMDD'}}
|
||||||
type=match,pattern=^v\d+.\d+.\d+$,value=latest
|
type=semver,pattern={{version}}
|
||||||
type=match,pattern=v(.*)
|
|
||||||
|
|
||||||
# Build and push Docker image with Buildx (don't push on PR)
|
# Build and push Docker image with Buildx (don't push on PR)
|
||||||
# https://github.com/docker/build-push-action
|
# https://github.com/docker/build-push-action
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue