mirror of
https://github.com/actions/runner-container-hooks.git
synced 2025-12-20 06:42:34 +00:00
Handle empty registry property in input
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user