Blah
This commit is contained in:
parent
c8f1740c54
commit
f610ba7406
@ -4,13 +4,16 @@ name: image building
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build&push
|
- name: build&push
|
||||||
image: docker:20.10.10-dind
|
image: docker:20.10.10
|
||||||
environment:
|
environment:
|
||||||
username: robot$library+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
|
||||||
tag: 35
|
tag: 35
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- /drone/src/data:/drone/src/data
|
||||||
commands:
|
commands:
|
||||||
- echo "$password" | docker login -u $username --password-stdin harbor.hq.rosti.cz
|
- echo "$password" | docker login -u $username --password-stdin harbor.hq.rosti.cz
|
||||||
- docker build -t $repo:$tag .
|
- docker build -t $repo:$tag .
|
||||||
|
Loading…
Reference in New Issue
Block a user