Fix
continuous-integration/drone/push Build is failing Details

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
1 changed files with 7 additions and 6 deletions

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