github 打tag才执行

This commit is contained in:
xxx 2023-11-15 15:47:42 +08:00
parent ac9a9c6935
commit a5272cd8cd

View File

@ -2,9 +2,8 @@ name: EstablishDockerImage
on:
push:
branches:
- main
- dev
tags:
- "*"
env:
IMAGE_FQDN: registry.cn-hangzhou.aliyuncs.com/playedu/light
@ -34,4 +33,4 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
${{ env.IMAGE_FQDN }}:1.5
${{ env.IMAGE_FQDN }}:${{ github.ref_name }}