Skip to content

Commit

Permalink
Image tag issue (#1188)
Browse files Browse the repository at this point in the history
  • Loading branch information
BraisVQ authored Jan 23, 2025
1 parent 73af417 commit e1386de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

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

## [4.6.0] - 2024-10-23

Expand Down
2 changes: 1 addition & 1 deletion src/org/ods/services/OpenShiftService.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ class OpenShiftService {

void setImageTag(String project, String name, String sourceTag, String destinationTag) {
steps.sh(
script: "oc -n ${project} tag ${name}:${sourceTag} ${name}:${destinationTag}",
script: "oc -n ${project} tag ${project}/${name}:${sourceTag} ${project}/${name}:${destinationTag}",
label: "Set tag ${destinationTag} on is/${name}"
)
}
Expand Down

0 comments on commit e1386de

Please sign in to comment.