This commit is contained in:
@@ -2,9 +2,9 @@ name: Build Push and Deploy Image
|
||||
|
||||
on:
|
||||
push:
|
||||
# #tag 触发
|
||||
# tags:
|
||||
# - 'v*'
|
||||
#tag 触发
|
||||
tags:
|
||||
- 'v*'
|
||||
# 分支触发
|
||||
# branches:
|
||||
# - main
|
||||
@@ -53,7 +53,7 @@ jobs:
|
||||
# 这里也可以通过 secrets 传入,后面再介绍
|
||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
# 获取时间戳,用于设置镜像 TAG 版本
|
||||
# 获取时间戳
|
||||
- name: Get datetime
|
||||
id: datetime
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user