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

Function parseVersionTag

bin/actions/k8s.js:101–107  ·  view source on GitHub ↗
(fullImageName)

Source from the content-addressed store, hash-verified

99 };
100
101 let parseVersionTag = function (fullImageName) {
102 let matches = fullImageName.match(/:[^:]*$/);
103 if (!matches) {
104 return '';
105 }
106 return matches[0] || '';
107 };
108
109 let setImageVersionTag = function (imageName, versionTag) {
110 if (versionTag.indexOf(':') !== 0) {

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…