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