* Fedora 35 * Build and push pipeline
This commit is contained in:
parent
84e52fca63
commit
1a9505f5ea
15
.drone.yml
15
.drone.yml
@ -4,10 +4,17 @@ name: image building
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build&push
|
- name: build&push
|
||||||
image: plugins/docker
|
image: harbor.hq.rosti.cz/library/builder:35
|
||||||
settings:
|
environment:
|
||||||
username: droneci
|
username: robot$library+droneci
|
||||||
password:
|
password:
|
||||||
from_secret: repo_password
|
from_secret: repo_password
|
||||||
repo: harbor.hq.rosti.cz/library/builder
|
repo: harbor.hq.rosti.cz/library/builder
|
||||||
tags: 35
|
tag: 35
|
||||||
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user