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