|
|
|
@ -52,6 +52,7 @@ jobs:
|
|
|
|
|
type=ref,event=branch
|
|
|
|
|
type=ref,event=pr
|
|
|
|
|
type=semver,pattern={{version}}
|
|
|
|
|
type=semver,pattern=v{{version}}
|
|
|
|
|
type=semver,pattern={{major}}.{{minor}}
|
|
|
|
|
type=semver,pattern={{major}}
|
|
|
|
|
type=sha
|
|
|
|
@ -87,6 +88,16 @@ jobs:
|
|
|
|
|
uses: docker/metadata-action@v5.0.0
|
|
|
|
|
with:
|
|
|
|
|
images: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-server
|
|
|
|
|
# generate Docker tags based on the following events/attributes
|
|
|
|
|
tags: |
|
|
|
|
|
type=schedule
|
|
|
|
|
type=ref,event=branch
|
|
|
|
|
type=ref,event=pr
|
|
|
|
|
type=semver,pattern={{version}}
|
|
|
|
|
type=semver,pattern=v{{version}}
|
|
|
|
|
type=semver,pattern={{major}}.{{minor}}
|
|
|
|
|
type=semver,pattern={{major}}
|
|
|
|
|
type=sha
|
|
|
|
|
|
|
|
|
|
- name: Log in to AliYun Docker Hub
|
|
|
|
|
uses: docker/login-action@v3
|
|
|
|
@ -126,6 +137,7 @@ jobs:
|
|
|
|
|
type=ref,event=branch
|
|
|
|
|
type=ref,event=pr
|
|
|
|
|
type=semver,pattern={{version}}
|
|
|
|
|
type=semver,pattern=v{{version}}
|
|
|
|
|
type=semver,pattern={{major}}.{{minor}}
|
|
|
|
|
type=semver,pattern={{major}}
|
|
|
|
|
type=sha
|
|
|
|
|