Skip to content

Commit 68f5f88

Browse files
committed
Fix manifest push failure handling
Signed-off-by: Bartosz Bezak <bartosz@stackhpc.com>
1 parent 92ec1f4 commit 68f5f88

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes CI multiarch manifest creation by setting ``pipefail`` in the
5+
manifest script. Failures from ``docker manifest create`` or
6+
``docker manifest push`` now fail the job even when piped to ``tee``.

tools/multiarch-manifests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ if [ -z "$manifest_images" ]; then
1717
exit 0
1818
fi
1919

20+
set -o pipefail
21+
2022
for base_image in $manifest_images; do
2123
arch_images=""
2224
for arch in amd64 aarch64; do

0 commit comments

Comments
 (0)