Skip to content

Commit

Permalink
might fix mirror image tags by excluding the sha from crane cp
Browse files Browse the repository at this point in the history
  • Loading branch information
solsson committed Nov 15, 2024
1 parent c0383a4 commit b18c3c0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
id: imageRegistryTag
uses: mikefarah/[email protected]
with:
cmd: yq '.images[0].newTag' registry/generic/kustomization.yaml
cmd: yq '.images[0].newTag | sub("(.*)@.*", "${1}")' registry/generic/kustomization.yaml
-
name: Mirror registry image from hub
run: |
Expand All @@ -63,7 +63,7 @@ jobs:
id: imageBuildkitTag
uses: mikefarah/[email protected]
with:
cmd: yq '.images[0].newTag' buildkit/kustomization.yaml
cmd: yq '.images[0].newTag | sub("(.*)@.*", "${1}")' buildkit/kustomization.yaml
-
name: Mirror buildkit image from hub
run: |
Expand All @@ -74,7 +74,7 @@ jobs:
id: imageGiteaTag
uses: mikefarah/[email protected]
with:
cmd: yq '.images[0].newTag' git-source/base/kustomization.yaml
cmd: yq '.images[0].newTag | sub("(.*)@.*", "${1}")' git-source/base/kustomization.yaml
-
name: Mirror gitea image from hub
run: |
Expand All @@ -85,7 +85,7 @@ jobs:
id: imageGrafanaTag
uses: mikefarah/[email protected]
with:
cmd: yq '.images[0].newTag' monitoring/grafana/kustomization.yaml
cmd: yq '.images[0].newTag | sub("(.*)@.*", "${1}")' monitoring/grafana/kustomization.yaml
-
name: Mirror grafana image from hub
run: |
Expand All @@ -96,7 +96,7 @@ jobs:
id: imageGrafanaImageRendererTag
uses: mikefarah/[email protected]
with:
cmd: yq '.images[1].newTag' monitoring/grafana/kustomization.yaml
cmd: yq '.images[1].newTag | sub("(.*)@.*", "${1}")' monitoring/grafana/kustomization.yaml
-
name: Mirror grafana-image-renderer image from hub
run: |
Expand All @@ -107,7 +107,7 @@ jobs:
id: imageRedpandaTag
uses: mikefarah/[email protected]
with:
cmd: yq '.images[0].newTag' kafka/redpanda-image/kustomization.yaml
cmd: yq '.images[0].newTag | sub("(.*)@.*", "${1}")' kafka/redpanda-image/kustomization.yaml
-
name: Mirror redpanda image
run: |
Expand Down

0 comments on commit b18c3c0

Please sign in to comment.