ci:修正 yq命令中标签值的引用- 将 yq 命令中的 '${{ needs.build.outputs.meta.outputs.tags }}' 修改为 '${{ needs.build.steps.meta.outputs.tags }}'- 此修改解决了标签值引用错误导致的问题
This commit is contained in:
parent
7a979cd1a0
commit
2b75a2f97a
2
.github/workflows/docker-publish.yml
vendored
2
.github/workflows/docker-publish.yml
vendored
@ -156,7 +156,7 @@ jobs:
|
||||
if: github.event_name == 'push'
|
||||
uses: mikefarah/yq@master
|
||||
with:
|
||||
cmd: yq eval '.tag = "${{ needs.build.outputs.meta.outputs.tags }}"' -i values.yaml
|
||||
cmd: yq eval '.tag = "${{ needs.build.steps.meta.outputs.tags }}"' -i values.yaml
|
||||
- name: Git Auto Commit
|
||||
if: github.event_name == 'push'
|
||||
uses: stefanzweifel/git-auto-commit-action@v5.0.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user