use tag and enable manual approval

This commit is contained in:
Felix Kunde 2020-12-16 12:16:34 +01:00
parent b4a154341d
commit 3d5467d0cc
1 changed files with 5 additions and 4 deletions

View File

@ -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"