update workflow file

This commit is contained in:
yoan 2024-11-24 21:11:46 +08:00
parent 972df7c167
commit 124af0b76d

View File

@ -1,4 +1,4 @@
name: Docker Image CI name: Next Docker Image CI
on: on:
push: push:
@ -33,8 +33,9 @@ jobs:
usual2970/certimate usual2970/certimate
registry.cn-shanghai.aliyuncs.com/usual2970/certimate registry.cn-shanghai.aliyuncs.com/usual2970/certimate
tags: | tags: |
type=ref,event=tag type=ref,event=tag,pattern={{version}}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }} flavor: |
latest=false
- name: Log in to DOCKERHUB - name: Log in to DOCKERHUB
uses: docker/login-action@v3 uses: docker/login-action@v3