main: adjust to older skopeo
This commit is contained in:
parent
685396f0fc
commit
aa962d1346
3
main.js
3
main.js
|
@ -1,7 +1,6 @@
|
||||||
const core = require("@actions/core")
|
const core = require("@actions/core")
|
||||||
const exec = require("@actions/exec")
|
const exec = require("@actions/exec")
|
||||||
const firstline = require("firstline")
|
const firstline = require("firstline")
|
||||||
const hub = require("docker-hub-utils")
|
|
||||||
const path = require("path")
|
const path = require("path")
|
||||||
const fs = require("fs")
|
const fs = require("fs")
|
||||||
|
|
||||||
|
@ -22,8 +21,6 @@ async function getImageName(distribution) {
|
||||||
try {
|
try {
|
||||||
await exec.exec("skopeo", [
|
await exec.exec("skopeo", [
|
||||||
"inspect",
|
"inspect",
|
||||||
"--no-tags",
|
|
||||||
"--no-creds",
|
|
||||||
`docker://docker.io/library/${image}:${tag}`
|
`docker://docker.io/library/${image}:${tag}`
|
||||||
])
|
])
|
||||||
return image
|
return image
|
||||||
|
|
Loading…
Reference in a new issue