This commit is contained in:
parent
d5aab80ffe
commit
a9074d3715
13
.drone.yml
13
.drone.yml
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user