MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / exec

Function exec

scripts/docker-hub-push.js:35–44  ·  view source on GitHub ↗
(command, options = {})

Source from the content-addressed store, hash-verified

33 );
34}
35
36const imageName = 'printventory';
37// Short Docker Hub form (docker.io implied). Lowercase namespace avoids the client
38// treating "Printventory/..." as a custom registry hostname. Do not prefix with
39// registry-1.docker.io — that key does not match credentials from `docker login`.
40const fullImageName = `${dockerHubUsername}/${imageName}`;
41const versionTag = `${fullImageName}:${version}`;
42const latestTag = `${fullImageName}:latest`;
43
44// Helper function to execute commands
45function exec(command, options = {}) {
46 try {
47 execSync(command, { stdio: 'inherit', ...options });

Callers 6

main.jsFile · 0.85
renderer.jsFile · 0.85
buildImageFunction · 0.85
tagImageFunction · 0.85
pushImageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected