From 2f2aabf364ec9b5056f21fa67d57c70e2a5d35e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=A0trauch?= Date: Tue, 2 Nov 2021 13:11:00 +0100 Subject: [PATCH] Drop usage of docker plugin Because the plugin uses old version of docker not compatible with new Debian --- .drone.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index aaba78e..2dc634b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,13 +4,16 @@ name: image building steps: - name: build&push - image: plugins/docker - settings: + image: harbor.hq.rosti.cz/library/builder:35 + environment: username: robot$library+droneci password: from_secret: repo_password repo: harbor.hq.rosti.cz/library/builder - registry: harbor.hq.rosti.cz - tags: - - 35 - - latest + tag: 35 + commands: + - echo $password | podman login -u $username --password-stdin harbor.hq.rosti.cz + - podman build -t $repo:$tag . + - podman tag $repo:$tag $repo:latest + - podman push $repo:$tag + - podman push $repo:latest