From 0a9610be0e32f9f1cb0a3a838e927211a4382155 Mon Sep 17 00:00:00 2001 From: Wey Gu Date: Thu, 1 Dec 2022 09:10:39 +0000 Subject: [PATCH 1/3] ci: release with Semver, latest and branch name --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 054b492..f631d59 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -67,9 +67,11 @@ jobs: uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 + - name: Checkout + uses: actions/checkout@v3 - name: Docker meta id: meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v4 with: images: | vesoft/nebula-console From c39a9c027582cd522ed4b9a92b9a67f3e22892c3 Mon Sep 17 00:00:00 2001 From: Wey Gu Date: Thu, 1 Dec 2022 09:18:31 +0000 Subject: [PATCH 2/3] fixed for v3 --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f631d59..ad2abfe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -81,7 +81,7 @@ jobs: # git branch type=ref,event=branch # v3 - type=semver,pattern=v{{version}} + type=semver,pattern=v{{major}} # v3.0 type=semver,pattern=v{{major}}.{{minor}} # v3.0.0 From c9d85566cd4776e3677723f82142ed6afe18569e Mon Sep 17 00:00:00 2001 From: Wey Gu Date: Thu, 1 Dec 2022 09:29:36 +0000 Subject: [PATCH 3/3] fixed v3 --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ad2abfe..8c11e13 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,12 +80,12 @@ jobs: type=ref,event=tag # git branch type=ref,event=branch + # v3.0.0 + type=semver,pattern=v{{version}} # v3 type=semver,pattern=v{{major}} # v3.0 type=semver,pattern=v{{major}}.{{minor}} - # v3.0.0 - type=semver,pattern=v{{major}}.{{minor}}.{{patch}} - name: Log into registry uses: docker/login-action@v2 with: