mirror of
https://github.com/suyiiyii/SIMS.git
synced 2025-06-02 00:16:11 +08:00
ci(docker-publish): 确保仅在push事件时提交标签更新
This commit is contained in:
parent
6e3ffa092b
commit
6f33a7dbc4
1
.github/workflows/docker-publish.yml
vendored
1
.github/workflows/docker-publish.yml
vendored
@ -113,6 +113,7 @@ jobs:
|
||||
with:
|
||||
cmd: yq eval '.image.tag = "${{ steps.meta.outputs.version }}"' -i values.yaml
|
||||
- name: Git Auto Commit
|
||||
if: github.event_name == 'push'
|
||||
uses: stefanzweifel/git-auto-commit-action@v5.0.1
|
||||
with:
|
||||
commit_message: "Update deployment image to ${{ steps.meta.outputs.version }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user