Skip to content

Commit e1386de

Browse files
authored
Image tag issue (#1188)
1 parent 73af417 commit e1386de

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
### Fixed
1717
* Fix Tailor deployment drifts for D, Q envs ([#1055](https://github.com/opendevstack/ods-jenkins-shared-library/pull/1055))
18+
* Image tag issues ([#1188](https://github.com/opendevstack/ods-jenkins-shared-library/pull/1188))
1819

1920
## [4.6.0] - 2024-10-23
2021

src/org/ods/services/OpenShiftService.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ class OpenShiftService {
278278

279279
void setImageTag(String project, String name, String sourceTag, String destinationTag) {
280280
steps.sh(
281-
script: "oc -n ${project} tag ${name}:${sourceTag} ${name}:${destinationTag}",
281+
script: "oc -n ${project} tag ${project}/${name}:${sourceTag} ${project}/${name}:${destinationTag}",
282282
label: "Set tag ${destinationTag} on is/${name}"
283283
)
284284
}

0 commit comments

Comments
 (0)