forked from waja/action-debian-package
main: container name is just package
This commit is contained in:
parent
52ad9cfd98
commit
f235be040d
2
main.js
2
main.js
|
@ -36,7 +36,7 @@ async function main() {
|
||||||
const match = changelog.match(regex)
|
const match = changelog.match(regex)
|
||||||
const { package, version, revision, distribution } = match.groups
|
const { package, version, revision, distribution } = match.groups
|
||||||
const os = await getOS(getDistribution(distribution))
|
const os = await getOS(getDistribution(distribution))
|
||||||
const container = package + "_" + version
|
const container = package
|
||||||
const image = os + ":" + getDistribution(distribution)
|
const image = os + ":" + getDistribution(distribution)
|
||||||
|
|
||||||
fs.mkdirSync(artifactsDirectory, { recursive: true })
|
fs.mkdirSync(artifactsDirectory, { recursive: true })
|
||||||
|
|
Loading…
Reference in a new issue