Skip to content

Commit

Permalink
feat(apps/prod/tekton/configs/tasks): fix task `multi-arch-image-coll…
Browse files Browse the repository at this point in the history
…ect` (#999)

avoid to combine images with different profiles.

Signed-off-by: wuhuizuo <wuhuizuo@126.com>

Signed-off-by: wuhuizuo <wuhuizuo@126.com>
  • Loading branch information
wuhuizuo authored Feb 27, 2024
1 parent 1ae1878 commit 3f380a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
done
# digest map
for t in `oras repo tags $pushed_repo | grep -E "${tag}[-_].*[-_](amd64|arm64)$"`; do
for t in `oras repo tags $pushed_repo | grep -E "${tag}[-_]linux[-_](amd64|arm64)$"`; do
manifest-tool inspect --raw "${pushed_repo}:$t" > manifest.json
platform=`jq -r '.os + "/" + .architecture' manifest.json`
digest=`jq -r '.digest' manifest.json`
Expand Down

0 comments on commit 3f380a3

Please sign in to comment.