mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-11 12:09:03 +00:00
fix(ci): qualify docker release checkout refs (#1374)
* fix(ci): qualify docker release checkout refs * style: apply prettier formatting
This commit is contained in:
1 parent
03a30119d9
commit
cba1414b7e
1 file changed
+3
-3
@@ -72,7 +72,7 @@ jobs:
|
||||
if: steps.tag.outputs.publish == 'true'
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ steps.target.outputs.tag }}
|
||||
ref: ${{ format('refs/tags/{0}', steps.target.outputs.tag) }}
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
|
||||
@@ -207,7 +207,7 @@ jobs:
|
||||
if: steps.tag.outputs.publish == 'true'
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ steps.target.outputs.tag }}
|
||||
ref: ${{ format('refs/tags/{0}', steps.target.outputs.tag) }}
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set up QEMU
|
||||
@@ -314,7 +314,7 @@ jobs:
|
||||
- name: Checkout release tag (for test scripts)
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ needs.publish-integrated.outputs.version != '' && format('v{0}', needs.publish-integrated.outputs.version) || github.ref }}
|
||||
ref: ${{ needs.publish-integrated.outputs.version != '' && format('refs/tags/v{0}', needs.publish-integrated.outputs.version) || github.ref }}
|
||||
persist-credentials: false
|
||||
|
||||
- name: Derive image reference
|
||||
|
||||
Reference in new issue
Block a user