MCPcopy Create free account
hub / github.com/SocketCluster/socketcluster / setImageVersionTag

Function setImageVersionTag

bin/actions/k8s.js:109–114  ·  view source on GitHub ↗
(imageName, versionTag)

Source from the content-addressed store, hash-verified

107 };
108
109 let setImageVersionTag = function (imageName, versionTag) {
110 if (versionTag.indexOf(':') !== 0) {
111 versionTag = ':' + versionTag;
112 }
113 return imageName.replace(/(\/[^\/:]*)(:[^:]*)?$/g, `$1${versionTag}`);
114 };
115
116 let promptDockerAuthDetails = async () => {
117 let username, password;

Callers 3

performDeploymentFunction · 0.85
pushToDockerImageRepoFunction · 0.85
k8sDeployAndDeployUpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…