From 3d5467d0cc5db6472a41fad615c7028eeef806e1 Mon Sep 17 00:00:00 2001 From: Felix Kunde Date: Wed, 16 Dec 2020 12:16:34 +0100 Subject: [PATCH] use tag and enable manual approval --- delivery.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/delivery.yaml b/delivery.yaml index 6f57f292b..d3673189f 100644 --- a/delivery.yaml +++ b/delivery.yaml @@ -55,7 +55,7 @@ pipeline: - id: build-operator-ui type: script - + requires_human_approval: true commands: - desc: 'Prepare environment' cmd: | @@ -83,11 +83,12 @@ pipeline: - id: build-logical-backup type: script - + requires_human_approval: true commands: - desc: Build image cmd: | cd docker/logical-backup + export TAG=git describe --tags --always --dirty IMAGE="registry-write.opensource.zalan.do/acid/logical-backup" - docker build -t "$IMAGE" . - docker push "$IMAGE" + docker build --rm -t "$IMAGE:$TAG$CDP_TAG" . + docker push "$IMAGE):$TAG$CDP_TAG"