ci:修正 yq命令中标签值的引用- 将 yq 命令中的 '${{ needs.build.outputs.meta.outputs.tags }}' 修改为 '${{ needs.build.steps.meta.outputs.tags }}'- 此修改解决了标签值引用错误导致的问题

This commit is contained in:
suyiiyii 2025-01-21 20:49:33 +08:00
parent 7a979cd1a0
commit 2b75a2f97a
Signed by: suyiiyii
GPG Key ID: 044704CB29B8AD85

View File

@ -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