diff --git a/.one-pipeline.yaml b/.one-pipeline.yaml
index 0bb1575d..e50c5073 100644
--- a/.one-pipeline.yaml
+++ b/.one-pipeline.yaml
@@ -32,7 +32,7 @@ setup:
test:
abort_on_failure: true
- image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.12@sha256:ff4053b0bca784d6d105fee1d008cfb20db206011453071e86b69ca3fde706a4
+ image: icr.io/continuous-delivery/pipeline/pipeline-base-ubi:3.12
script: |
#!/usr/bin/env bash
SKIP_UNIT_TESTS=$(get_env SKIP_UNIT_TESTS)
@@ -72,7 +72,7 @@ static-scan:
containerize:
abort_on_failure: true
dind: true
- image: icr.io/continuous-delivery/pipeline/pipeline-base-image:2.12@sha256:ff4053b0bca784d6d105fee1d008cfb20db206011453071e86b69ca3fde706a4
+ image: icr.io/continuous-delivery/pipeline/pipeline-base-ubi:3.12
script: |
#!/usr/bin/env bash
@@ -82,20 +82,11 @@ containerize:
set -x
fi
- apt-get update
- apt-get -qq -y install build-essential software-properties-common uidmap
+ yum -y -q update
- # Download and install skopeo
- if ! command -v skopeo &> /dev/null; then
- if [ ! -f "/apt/sources.list.d/devel:kubic:libcontainers:stable.list" ]; then
- 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"
- wget --no-check-certificate -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_18.04/Release.key -O- | sudo apt-key add -
- sudo apt-get update -qq
- fi
- sudo apt-get -y install skopeo
- else
- skopeo --version
- fi
+ # Check skopeo version
+ echo "skopeo version"
+ skopeo --version || exit 1
# Build images
export PIPELINE_USERNAME=$(get_env ibmcloud-api-user)
diff --git a/pom.xml b/pom.xml
index bf6660f8..47869ea5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -44,13 +44,13 @@
org.jboss.resteasy
resteasy-client
- 6.2.3.Final
+ 6.2.12.Final
test
org.jboss.resteasy
resteasy-json-binding-provider
- 6.2.3.Final
+ 6.2.12.Final
test
@@ -97,6 +97,11 @@
+
+ org.apache.maven.plugins
+ maven-war-plugin
+ 3.4.0
+
\ No newline at end of file