0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

ci: fix prerelease tag (#1380)

This commit is contained in:
Gao Sun 2022-07-03 16:56:42 +08:00 committed by GitHub
parent 2faf429e5b
commit 4d37523c95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,9 +31,9 @@ jobs:
# https://github.com/docker/metadata-action#typesemver # https://github.com/docker/metadata-action#typesemver
tags: | tags: |
type=semver,pattern={{version}} type=semver,pattern={{version}}
type=semver,pattern={{version}},value=prerelease
type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}} type=semver,pattern={{major}}
type=raw,enable=${{ startsWith(github.ref, 'refs/tags/v') }},value=prerelease
type=edge type=edge
- name: Set up Docker Buildx - name: Set up Docker Buildx