forked from waja/action-debian-package
Compare commits
1 commit
55631cfab1
...
b861b80ec6
Author | SHA1 | Date | |
---|---|---|---|
|
b861b80ec6 |
7
main.js
7
main.js
|
@ -68,8 +68,8 @@ async function main() {
|
|||
const match = changelog.match(regex)
|
||||
const { pkg, epoch, version, revision, packageDistribution } = match.groups
|
||||
const distribution = osDistribution ? osDistribution : packageDistribution
|
||||
const imageName = await getImageName(distribution)
|
||||
const imageTag = await getImageTag(imageName, distribution)
|
||||
const imageName = debian
|
||||
const imageTag = stable
|
||||
const container = pkg
|
||||
const image = imageName + ":" + imageTag
|
||||
|
||||
|
@ -145,7 +145,7 @@ async function main() {
|
|||
container
|
||||
])
|
||||
core.endGroup()
|
||||
|
||||
/*
|
||||
core.startGroup("Prepare environment")
|
||||
await exec.exec("docker", [
|
||||
"exec",
|
||||
|
@ -284,6 +284,7 @@ async function main() {
|
|||
"-exec", "mv", "{}", artifactsDirectory, ";"
|
||||
])
|
||||
core.endGroup()
|
||||
*/
|
||||
} catch (error) {
|
||||
core.setFailed(error.message)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue