Compare commits

..

2 Commits

Author SHA1 Message Date
jkunz e10c51f6df v2.3.0
Default (tags) / security (push) Failing after 1s
Default (tags) / test (push) Failing after 1s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2026-05-13 10:20:53 +00:00
jkunz aad4d806e7 feat(cli): support cached builds during push 2026-05-13 10:19:56 +00:00
6 changed files with 46 additions and 7 deletions
+29 -5
View File
@@ -4,6 +4,7 @@
"cli": true "cli": true
}, },
"@git.zone/cli": { "@git.zone/cli": {
"schemaVersion": 2,
"projectType": "npm", "projectType": "npm",
"module": { "module": {
"githost": "gitlab.com", "githost": "gitlab.com",
@@ -14,11 +15,34 @@
"license": "MIT" "license": "MIT"
}, },
"release": { "release": {
"accessLevel": "public", "confirmation": "prompt",
"registries": [ "preflight": {
"https://verdaccio.lossless.digital", "requireCleanTree": true,
"https://registry.npmjs.org" "test": false,
] "build": true
},
"targets": {
"git": {
"enabled": true,
"remote": "origin",
"pushBranch": true,
"pushTags": true
},
"npm": {
"enabled": true,
"registries": [
"https://verdaccio.lossless.digital",
"https://registry.npmjs.org"
],
"accessLevel": "public",
"alreadyPublished": "success"
},
"docker": {
"enabled": false,
"engine": "tsdocker",
"patterns": []
}
}
} }
}, },
"@ship.zone/szci": { "@ship.zone/szci": {
+11
View File
@@ -1,5 +1,16 @@
# Changelog # Changelog
## Pending
## 2026-05-13 - 2.3.0
### Features
- Support cached builds during `tsdocker push`.
- Apply `--cached` to the push command's build phase before registry publishing.
- Migrate the project release config to schema v2 targets for the current release workflow.
## 2026-05-09 - 2.2.8 - fix(package) ## 2026-05-09 - 2.2.8 - fix(package)
normalize bin entry path for the tsdocker CLI normalize bin entry path for the tsdocker CLI
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@git.zone/tsdocker", "name": "@git.zone/tsdocker",
"version": "2.2.8", "version": "2.3.0",
"private": false, "private": false,
"description": "A comprehensive Docker build tool for TypeScript projects with multi-arch support, multi-registry push, and CI-safe session isolation.", "description": "A comprehensive Docker build tool for TypeScript projects with multi-arch support, multi-registry push, and CI-safe session isolation.",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",
+1
View File
@@ -118,6 +118,7 @@ tsdocker push --no-build Dockerfile_api Dockerfile_web
| `<patterns>` | Positional Dockerfile name patterns to select which images to push | | `<patterns>` | Positional Dockerfile name patterns to select which images to push |
| `--registry=<url>` | Push to a single specific registry instead of all configured | | `--registry=<url>` | Push to a single specific registry instead of all configured |
| `--no-build` | Skip the build phase; only push existing images from local registry | | `--no-build` | Skip the build phase; only push existing images from local registry |
| `--cached` | Skip unchanged Dockerfiles during the build phase |
### Config Subcommands ### Config Subcommands
+1 -1
View File
@@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@git.zone/tsdocker', name: '@git.zone/tsdocker',
version: '2.2.8', version: '2.3.0',
description: 'A comprehensive Docker build tool for TypeScript projects with multi-arch support, multi-registry push, and CI-safe session isolation.' description: 'A comprehensive Docker build tool for TypeScript projects with multi-arch support, multi-registry push, and CI-safe session isolation.'
} }
+3
View File
@@ -174,6 +174,9 @@ export let run = () => {
buildOptions.noCache = true; buildOptions.noCache = true;
} }
buildOptions.pull = argvArg.pull !== false; buildOptions.pull = argvArg.pull !== false;
if (argvArg.cached) {
buildOptions.cached = true;
}
if (argvArg.verbose) { if (argvArg.verbose) {
buildOptions.verbose = true; buildOptions.verbose = true;
} }