Skip to content

Commit

Permalink
ci: release with Semver, latest and branch name (#197)
Browse files Browse the repository at this point in the history
* ci: release with Semver, latest and branch name

* fixed for v3

* fixed v3
  • Loading branch information
wey-gu authored Dec 1, 2022
1 parent c74a87b commit ecffc32
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -78,12 +80,12 @@ jobs:
type=ref,event=tag
# git branch
type=ref,event=branch
# v3
# 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:
Expand Down

0 comments on commit ecffc32

Please sign in to comment.