@codedependant/semantic-release-docker 5.0.0 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/lib/build-config.js +2 -0
- package/lib/docker/image.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Semantic Release Docker
|
|
2
2
|
|
|
3
|
+
## [5.0.2](https://github.com/esatterwhite/semantic-release-docker/compare/v5.0.1...v5.0.2) (2024-03-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **config**: propgate dry run option to docker image [1438ded](https://github.com/esatterwhite/semantic-release-docker/commit/1438dedae17c45eeb88f17b6108d343de283f10f) - Eric Satterwhite
|
|
9
|
+
|
|
10
|
+
## [5.0.1](https://github.com/esatterwhite/semantic-release-docker/compare/v5.0.0...v5.0.1) (2024-03-22)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **config**: include the dry-run param from input options [2de549f](https://github.com/esatterwhite/semantic-release-docker/commit/2de549f8dc2dcdc9741c06959ce0d120dd8b5fc5) - Eric Satterwhite
|
|
16
|
+
|
|
3
17
|
# [5.0.0](https://github.com/esatterwhite/semantic-release-docker/compare/v4.5.1...v5.0.0) (2024-03-22)
|
|
4
18
|
|
|
5
19
|
|
package/lib/build-config.js
CHANGED
|
@@ -28,6 +28,7 @@ async function buildConfig(build_id, config, context) {
|
|
|
28
28
|
, dockerNetwork: network = 'default'
|
|
29
29
|
, dockerAutoClean: clean = true
|
|
30
30
|
, dockerBuildQuiet: quiet = true
|
|
31
|
+
, dryRun: dry_run = false
|
|
31
32
|
} = config
|
|
32
33
|
|
|
33
34
|
let name = null
|
|
@@ -57,6 +58,7 @@ async function buildConfig(build_id, config, context) {
|
|
|
57
58
|
, publish
|
|
58
59
|
, tags: array.toArray(tags)
|
|
59
60
|
, verifycmd
|
|
61
|
+
, dry_run
|
|
60
62
|
, args: {
|
|
61
63
|
SRC_DIRECTORY: path.basename(context.cwd)
|
|
62
64
|
, TARGET_PATH: target
|
package/lib/docker/image.js
CHANGED
|
@@ -87,7 +87,7 @@ class Image {
|
|
|
87
87
|
, quiet: opts.quiet
|
|
88
88
|
, publish: opts.publish
|
|
89
89
|
, platform: opts.platform
|
|
90
|
-
, dry_run: !!opts.
|
|
90
|
+
, dry_run: !!opts.dry_run
|
|
91
91
|
})
|
|
92
92
|
for (const [key, value] of Object.entries(opts.args)) {
|
|
93
93
|
image.arg(key, string.template(value)(vars))
|