Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <[email protected]>
  • Loading branch information
crazy-max committed Jul 2, 2024
1 parent f6c68ca commit d77b217
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ async function buildRefs(toolkit: Toolkit, since: Date, builder?: string): Promi
// get refs from metadata file
const metaRefs = toolkit.buildxBake.resolveRefs();
if (metaRefs) {
core.info(`Build references from metadata file: ${JSON.stringify(metaRefs)}`);
return metaRefs;
}
// otherwise, look for the very first build ref since the build has started
Expand All @@ -236,6 +237,7 @@ async function buildRefs(toolkit: Toolkit, since: Date, builder?: string): Promi
builderName: builder,
since: since
});
core.info(`Local refs: ${JSON.stringify(res, null, 2)}`);
const refs: Array<string> = [];
for (const ref in res) {
if (Object.prototype.hasOwnProperty.call(res, ref)) {
Expand Down

0 comments on commit d77b217

Please sign in to comment.