npm-pkgbuild 11.5.21 → 11.5.22
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/package.json +2 -2
- package/src/output/docker.mjs +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "npm-pkgbuild",
|
|
3
|
-
"version": "11.5.
|
|
3
|
+
"version": "11.5.22",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"aur",
|
|
15
15
|
"deb",
|
|
16
16
|
"debian",
|
|
17
|
+
"makepkg",
|
|
17
18
|
"package",
|
|
18
19
|
"pacman",
|
|
19
20
|
"pkgbuild",
|
|
20
|
-
"makepkg",
|
|
21
21
|
"rpm",
|
|
22
22
|
"rpmspec"
|
|
23
23
|
],
|
package/src/output/docker.mjs
CHANGED
|
@@ -101,10 +101,11 @@ export class DOCKER extends Packager {
|
|
|
101
101
|
console.log(await readFile(join(staging, DOCKERFILE), utf8StreamOptions));
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
+
let tag = `${properties.name}:${properties.version}`;
|
|
104
105
|
let image = "";
|
|
105
106
|
|
|
106
107
|
if (!options.dry) {
|
|
107
|
-
const docker = await execa(this.constructor.name, ["build", staging], {
|
|
108
|
+
const docker = await execa(this.constructor.name, ["build", "--tag", tag, staging], {
|
|
108
109
|
cwd: staging
|
|
109
110
|
});
|
|
110
111
|
|