-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
might fix mirror image tags by excluding the sha from crane cp
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | | ||
|
@@ -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: | | ||
|
@@ -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: | | ||
|
@@ -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: | | ||
|
@@ -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: | | ||
|
@@ -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: | | ||
|