This repository was archived by the owner on Dec 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,7 @@ jobs:
156156 PIPELINE_ID : 460 # cp-gh-artifact-to-acr
157157 ADO_PAT : ${{ secrets.HMCTS_ADO_PAT }}
158158 run : |
159+ repo_name=${GITHUB_REPOSITORY##*/}
159160 curl -X POST \
160161 -u ":${ADO_PAT}" \
161162 -H "Content-Type: application/json" \
@@ -170,7 +171,7 @@ jobs:
170171 },
171172 "templateParameters": {
172173 "GROUP_ID": "uk.gov.hmcts.cp",
173- "ARTIFACT_ID": "'"${{ github.repository }}"' ",
174- "ARTIFACT_VERSION": "'" ${{ needs.Artefact-Version.outputs.draft_version}}"' "
174+ "ARTIFACT_ID": "${repo_name} ",
175+ "ARTIFACT_VERSION": "${{ needs.Artefact-Version.outputs.draft_version}}"
175176 }
176177 }'
Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ jobs:
122122 PIPELINE_ID : 460 # cp-gh-artifact-to-acr
123123 ADO_PAT : ${{ secrets.HMCTS_ADO_PAT }}
124124 run : |
125+ repo_name=${GITHUB_REPOSITORY##*/}
125126 curl -X POST \
126127 -u ":${ADO_PAT}" \
127128 -H "Content-Type: application/json" \
@@ -136,7 +137,7 @@ jobs:
136137 },
137138 "templateParameters": {
138139 "GROUP_ID": "uk.gov.hmcts.cp",
139- "ARTIFACT_ID": "'"${{ github.repository }}"' ",
140- "ARTIFACT_VERSION": "'" ${{ needs.Artefact-Version.outputs.RELEASED_VERSION }}"' "
140+ "ARTIFACT_ID": "${repo_name} ",
141+ "ARTIFACT_VERSION": "${{ needs.Artefact-Version.outputs.RELEASED_VERSION}} "
141142 }
142143 }'
You can’t perform that action at this time.
0 commit comments