|
@@ -83,7 +83,8 @@ export default class ExpandedJobChart extends Component<PropsType, StateType> {
|
|
|
)
|
|
)
|
|
|
.then((res) => {
|
|
.then((res) => {
|
|
|
let image = res.data?.config?.image?.repository;
|
|
let image = res.data?.config?.image?.repository;
|
|
|
- let tag = res.data?.config?.image?.tag
|
|
|
|
|
|
|
+ let tag = res.data?.config?.image?.tag.toString();
|
|
|
|
|
+ console.log("stringified tag is", tag);
|
|
|
let newestImage = tag ? image + ":" + tag : image
|
|
let newestImage = tag ? image + ":" + tag : image
|
|
|
|
|
|
|
|
if (
|
|
if (
|
|
@@ -261,7 +262,8 @@ export default class ExpandedJobChart extends Component<PropsType, StateType> {
|
|
|
if (imageUrl.includes(":")) {
|
|
if (imageUrl.includes(":")) {
|
|
|
let splits = imageUrl.split(":");
|
|
let splits = imageUrl.split(":");
|
|
|
imageUrl = splits[0];
|
|
imageUrl = splits[0];
|
|
|
- tag = splits[1];
|
|
|
|
|
|
|
+ tag = splits[1].toString();
|
|
|
|
|
+ console.log("hsv stringified tag is", tag);
|
|
|
} else if (!tag) {
|
|
} else if (!tag) {
|
|
|
tag = "latest";
|
|
tag = "latest";
|
|
|
}
|
|
}
|
|
@@ -294,6 +296,8 @@ export default class ExpandedJobChart extends Component<PropsType, StateType> {
|
|
|
tag = "latest";
|
|
tag = "latest";
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ console.log("later stringified tag is", tag);
|
|
|
|
|
+
|
|
|
_.set(values, "image.repository", imageUrl);
|
|
_.set(values, "image.repository", imageUrl);
|
|
|
_.set(values, "image.tag", tag);
|
|
_.set(values, "image.tag", tag);
|
|
|
}
|
|
}
|