mirror of
https://github.com/yanhao98/docker-example.git
synced 2025-07-13 04:00:47 +08:00
更新发布工作流以启用基于标签的构建,移除不必要的注释
This commit is contained in:
14
README.md
14
README.md
@ -1 +1,13 @@
|
||||
# docker-example
|
||||
# docker-example
|
||||
|
||||
```
|
||||
# type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
|
||||
# type=pep440,pattern={{raw}},enable=${{ startsWith(github.ref, 'refs/tags/') }}
|
||||
|
||||
# type=schedule,pattern={{date 'YYYYMMDD-HHmmss' tz='UTC'}}
|
||||
# type=ref,event=branch
|
||||
# type=ref,event=pr
|
||||
# type=semver,pattern={{version}}
|
||||
# type=semver,pattern={{major}}.{{minor}}.{{patch}}
|
||||
# type=sha
|
||||
```
|
Reference in New Issue
Block a user