mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-11 03:13:12 +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'
|
if: steps.tag.outputs.publish == 'true'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ steps.target.outputs.tag }}
|
ref: ${{ format('refs/tags/{0}', steps.target.outputs.tag) }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
@@ -207,7 +207,7 @@ jobs:
|
|||||||
if: steps.tag.outputs.publish == 'true'
|
if: steps.tag.outputs.publish == 'true'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ steps.target.outputs.tag }}
|
ref: ${{ format('refs/tags/{0}', steps.target.outputs.tag) }}
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
@@ -314,7 +314,7 @@ jobs:
|
|||||||
- name: Checkout release tag (for test scripts)
|
- name: Checkout release tag (for test scripts)
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
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
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Derive image reference
|
- name: Derive image reference
|
||||||
|
|||||||
Reference in new issue
Block a user