Handle empty registry property in input

This commit is contained in:
Ferenc Hammerl
2022-06-03 06:52:06 -07:00
parent 4b7efe88ef
commit 171956673c
2 changed files with 8 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ export async function runContainerStep(
): Promise<void> {
const tag = generateBuildTag() // for docker build
if (args.image) {
const configLocation = await registryLogin(args)
const configLocation = await registryLogin(args.registry)
try {
await containerPull(args.image, configLocation)
} finally {