File tree Expand file tree Collapse file tree 1 file changed +5
-14
lines changed
Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -82,20 +82,11 @@ containerize:
8282 set -x
8383 fi
8484
85- apt-get update
86- apt-get -qq -y install build-essential software-properties-common uidmap
87-
88- # Download and install skopeo
89- if ! command -v skopeo &> /dev/null; then
90- if [ ! -f "/apt/sources.list.d/devel:kubic:libcontainers:stable.list" ]; then
91- sudo sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_18.04/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list"
92- wget --no-check-certificate -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_18.04/Release.key -O- | sudo apt-key add -
93- sudo apt-get update -qq
94- fi
95- sudo apt-get -y install skopeo
96- else
97- skopeo --version
98- fi
85+ yum -y -q update
86+
87+ # Check skopeo version
88+ echo "skopeo version"
89+ skopeo --version || exit 1
9990
10091 # Build images
10192 export PIPELINE_USERNAME=$(get_env ibmcloud-api-user)
You can’t perform that action at this time.
0 commit comments