@@ -18,7 +18,7 @@ set -euo pipefail
1818
1919# make git available
2020if ! [ -x " $( command -v git) " ]; then
21- echo " Installing git… "
21+ echo " Installing git... "
2222 dnf install -y git
2323fi
2424
@@ -27,7 +27,7 @@ if [ -n "${DOCKER_REGISTRY_MIRROR_ADDR:-}" ]; then
2727 # remove "http://" or "https://" prefix
2828 mirror=" $( echo " $DOCKER_REGISTRY_MIRROR_ADDR " | awk -F// ' {print $NF}' ) "
2929
30- echo " Configuring registry mirror for docker.io… "
30+ echo " Configuring registry mirror for docker.io... "
3131
3232 cat << EOF > /etc/containers/registries.conf.d/mirror.conf
3333[[registry]]
@@ -65,13 +65,13 @@ if [ -z "$version" ]; then
6565fi
6666
6767image=" $repository :$version "
68- echo " Building container image $image … "
68+ echo " Building container image $image ... "
6969
7070# build image for all architectures
7171for arch in $architectures ; do
7272 fullTag=" $image -$arch "
7373
74- echo " Building $version -$arch … "
74+ echo " Building $version -$arch ... "
7575 buildah build-using-dockerfile \
7676 --file Dockerfile \
7777 --tag " $fullTag " \
@@ -94,7 +94,7 @@ function create_manifest() {
9494 buildah manifest create " $name "
9595}
9696
97- echo " Creating manifest $image … "
97+ echo " Creating manifest $image ... "
9898create_manifest " $image "
9999for arch in $architectures ; do
100100 buildah manifest add " $image " " $image -$arch "
107107if [ -n " $branchName " ]; then
108108 branchImage=" $repository :$branchName "
109109
110- echo " Creating manifest $branchImage … "
110+ echo " Creating manifest $branchImage ... "
111111 create_manifest " $branchImage "
112112 for arch in $architectures ; do
113113 buildah manifest add " $branchImage " " $image -$arch "
116116
117117# push manifest, except in presubmits
118118if [ -z " ${DRY_RUN:- } " ]; then
119- echo " Logging into GHCR… "
119+ echo " Logging into GHCR... "
120120 buildah login --username " $KCP_GHCR_USERNAME " --password " $KCP_GHCR_PASSWORD " ghcr.io
121121
122- echo " Pushing manifest and images… "
122+ echo " Pushing manifest and images... "
123123 buildah manifest push --all " $image " " docker://$image "
124124
125125 if [ -n " ${branchImage:- } " ]; then
0 commit comments