Skip to content

Commit

Permalink
Handle artifacts which are already in GAR
Browse files Browse the repository at this point in the history
  • Loading branch information
neilprosser committed Oct 21, 2024
1 parent 7c56846 commit 0b32c7d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/events/register_skill.ts
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,10 @@ async function createArtifact(
ctx.data.image.repository.name.startsWith(
"atomist-container-skills/",
)) ||
(ctx.data.image.repository.host === "us-east1-docker.pkg.dev" &&
ctx.data.image.repository.name.startsWith(
"scout-artifact-registry/",
)) ||
(ctx.data.image.repository.host === "hub.docker.com" &&
ctx.data.image.repository.name.startsWith("atomist/"))
) {
Expand Down

0 comments on commit 0b32c7d

Please sign in to comment.