Skip to content

Commit 691bebf

Browse files
Merge branch 'main' of https://github.com/devcontainers/images into samruddhikhandale/dual-tag
2 parents e60a194 + bdecbd0 commit 691bebf

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

build/src/push.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,6 @@ async function pushImage(definitionId, repo, release, updateLatest,
141141
const vscodeImageNameParams = vscodeImageNamesWithVersionTags.reduce((prev, current) => prev.concat(['--image-name', current]), []);
142142
imageNameParams = imageNameParams.concat(vscodeImageNameParams);
143143

144-
// Do not build and push the "latest" tag when pushing the "dev" images
145-
if (configUtils.getVersionFromRelease(release, definitionId) !== 'dev' || !pushImages) {
146-
imageNameParams.push('--image-name', imageName);
147-
imageNameParams.push('--image-name', vscodeImageName);
148-
}
149-
150144
const spawnOpts = { stdio: 'inherit', cwd: workingDir, shell: true };
151145
await asyncUtils.spawn('devcontainer', [
152146
'build',

0 commit comments

Comments
 (0)