forked from waja/action-debian-package
main: wrap in group
This commit is contained in:
parent
aa962d1346
commit
b755e71a2c
2
main.js
2
main.js
|
@ -19,10 +19,12 @@ async function getImageName(distribution) {
|
|||
const tag = getImageTag("", distribution)
|
||||
for (const image of ["debian", "ubuntu"]) {
|
||||
try {
|
||||
core.startGroup("Get image name")
|
||||
await exec.exec("skopeo", [
|
||||
"inspect",
|
||||
`docker://docker.io/library/${image}:${tag}`
|
||||
])
|
||||
core.endGroup()
|
||||
return image
|
||||
} catch {
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue