This commit is contained in:
parent
ead99ae821
commit
f9c06cd563
|
@ -5,8 +5,17 @@ set -ef
|
|||
|
||||
[ -z "${CI_DEBUG}" ] || set -xv
|
||||
|
||||
unset _bin
|
||||
for i in podman buildah skopeo ; do
|
||||
if command -V "$i" >/dev/null ; then
|
||||
_bin=$i
|
||||
break
|
||||
fi
|
||||
done
|
||||
: "${_bin:?}"
|
||||
|
||||
. .ci/envsh.registry
|
||||
|
||||
for i ; do
|
||||
skopeo login "$i" </dev/null
|
||||
"${_bin}" login "$i" </dev/null
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue
Block a user