Add simple build for logical backup images
This commit is contained in:
parent
6f00f06986
commit
2e626b6a9b
|
|
@ -12,6 +12,17 @@ pipeline:
|
||||||
- desc: 'Install required build software'
|
- desc: 'Install required build software'
|
||||||
cmd: |
|
cmd: |
|
||||||
apt-get install -y make git apt-transport-https ca-certificates curl build-essential
|
apt-get install -y make git apt-transport-https ca-certificates curl build-essential
|
||||||
|
- desc: 'Build logical backup image'
|
||||||
|
cmd: |
|
||||||
|
IS_PR_BUILD=${CDP_PULL_REQUEST_NUMBER+"true"}
|
||||||
|
if [[ ${CDP_TARGET_BRANCH} == "master" && ${IS_PR_BUILD} != "true" ]]
|
||||||
|
then
|
||||||
|
LB_IMAGE=registry-write.opensource.zalan.do/acid/logical-backup
|
||||||
|
else
|
||||||
|
LB_IMAGE=registry-write.opensource.zalan.do/acid/logical-backup-test
|
||||||
|
fi
|
||||||
|
docker build -t "$LB_IMAGE" ./docker/logical-backup
|
||||||
|
docker push "$LB_IMAGE"
|
||||||
- desc: 'Install go'
|
- desc: 'Install go'
|
||||||
cmd: |
|
cmd: |
|
||||||
cd /tmp
|
cd /tmp
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue