mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 10:16:49 +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:
@@ -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