File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 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``.
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22# Script used by the Image build workflow to build & push multiarch manifests.
33
4- set -ex
4+ set -o errexit
5+ set -o xtrace
6+ set -o pipefail
57
68mkdir -p logs
79images=$( cat all-pushed-images.txt | sort | uniq)
810
911# Filter out Ubuntu and Rocky Bifrost images
1012manifest_images=$( echo " $images " \
11- | grep -E ' .*-(amd64|aarch64)$' \
12- | sed -E ' s/-(amd64|aarch64)$//' \
13+ | sed -nE ' s/-(amd64|aarch64)$//p' \
1314 | sort | uniq)
1415
1516if [ -z " $manifest_images " ]; then
You can’t perform that action at this time.
0 commit comments