Fix
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Adam Štrauch 2022-09-11 22:48:22 +02:00
parent d5aab80ffe
commit a9074d3715
Signed by: cx
GPG key ID: 018304FFA8988F8D

View file

@ -12,12 +12,13 @@ steps:
# repo: harbor.hq.rosti.cz/library/builder
username: admin
password: admin
repo: registry.kube.ceperka.net/library/builder
repo: registry.kube.ceperka.net
image: registry.kube.ceperka.net/library/builder
tag: 36
privileged: true
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
- echo "$password" | podman login -u $username --password-stdin $repo
- podman build -t $image:$tag .
- podman tag $image:$tag $image:latest
- podman push $image:$tag
- podman push $image:latest