Skip to content

Commit e325116

Browse files
committed
Edited the labels
1 parent 720cd85 commit e325116

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dist/index.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ async function run(): Promise<void> {
2727
//Add dockerfile path to label
2828
let dockerfilePath = core.getInput('file') || 'Dockerfile';
2929
inputs.labels.push(
30-
`org.opencontainers.image.source=https://github.com/${github.context.repo.owner}/${github.context.repo.repo}/${dockerfilePath}`
30+
`org.opencontainers.image.source=https://github.com/${github.context.repo.owner}/${github.context.repo.repo}`
3131
);
32+
inputs.labels.push(`dockerfilePath=${dockerfilePath}`);
3233

3334
core.info(`🏃 Starting build...`);
3435
const args: string[] = await context.getArgs(inputs, defContext, buildxVersion);

0 commit comments

Comments
 (0)