main: adjust to older skopeo

This commit is contained in:
Dawid Dziurla 2022-10-27 10:01:46 +02:00 committed by GitHub
parent 685396f0fc
commit aa962d1346
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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