chore: switch to semver for docker.yml

release-v0.1
Meng Zhang 2023-08-31 10:27:21 +08:00
parent c76edeaa80
commit ffa87dbfe5
1 changed files with 1 additions and 4 deletions

View File

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