Skip to content

Commit

Permalink
Pass --all when building manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas committed May 28, 2024
1 parent 793842e commit 19a6561
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions task/build-image-manifest/0.1/build-image-manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ spec:
value: $(params.IMAGE)
- name: TLSVERIFY
value: $(params.TLSVERIFY)
- name: COMMIT_SHA
value: $(params.COMMIT_SHA)
steps:
- image: quay.io/redhat-appstudio/buildah:v1.31.0@sha256:34f12c7b72ec2c28f1ded0c494b428df4791c909f1f174dd21b8ed6a57cf5ddb
# per https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
Expand All @@ -57,8 +59,6 @@ spec:
memory: 512Mi
cpu: 250m
env:
- name: COMMIT_SHA
value: $(params.COMMIT_SHA)
args: ["$(params.IMAGES[*])"]
script: |
#!/bin/bash
Expand All @@ -79,7 +79,7 @@ spec:
TOADD="$(echo $i | cut -d: -f1)@sha256:$(echo $i | cut -d: -f3)"
fi
echo "Adding $TOADD"
buildah manifest add $IMAGE "docker://$TOADD"
buildah manifest add $IMAGE "docker://$TOADD" --all
done
status=-1
Expand Down

0 comments on commit 19a6561

Please sign in to comment.