Skip to content

Commit

Permalink
wip: testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgilman committed Sep 4, 2024
1 parent 8c36dc5 commit 81cc097
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion forge/actions/publish/dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion forge/actions/publish/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,16 @@ async function run() {
const registries = blueprint.global.ci.registries;
const tag = getTag(blueprint.global.ci.tagging.strategy);

core.info(`Ref: ${process.env.GITHUB_REF}`);

for (const registry of registries) {
const taggedImage = `${registry}/${container}:${tag}`;

core.info(`Tagging image ${image} as ${taggedImage}`);
await tagImage(image, taggedImage);

core.info(`Pushing image ${taggedImage}`);
await pushImage(taggedImage);
//await pushImage(taggedImage);
}
} catch (error) {
core.setFailed(error.message);
Expand Down

0 comments on commit 81cc097

Please sign in to comment.