Edited label key

Signed-off-by: Jyotsna <Josh-01@github.com>
pull/212/head
Jyotsna 5 years ago
parent ed4d53f122
commit be3385a5dd

2
dist/index.js generated vendored

@ -2391,7 +2391,7 @@ function run() {
//Add dockerfile path to label
let dockerfilePath = core.getInput('file') || 'Dockerfile';
inputs.labels.push(`org.opencontainers.image.source=https://github.com/${github.context.repo.owner}/${github.context.repo.repo}`);
inputs.labels.push(`dockerfilePath=${dockerfilePath}`);
inputs.labels.push(`dockerfile-path=${dockerfilePath}`);
core.info(`🏃 Starting build...`);
const args = yield context.getArgs(inputs, defContext, buildxVersion);
yield exec.exec('docker', args).then(res => {

@ -29,7 +29,7 @@ async function run(): Promise<void> {
inputs.labels.push(
`org.opencontainers.image.source=https://github.com/${github.context.repo.owner}/${github.context.repo.repo}`
);
inputs.labels.push(`dockerfilePath=${dockerfilePath}`);
inputs.labels.push(`dockerfile-path=${dockerfilePath}`);
core.info(`🏃 Starting build...`);
const args: string[] = await context.getArgs(inputs, defContext, buildxVersion);

Loading…
Cancel
Save