This commit is contained in:
parent
334c3c07e3
commit
f77d256678
1 changed files with 8 additions and 8 deletions
16
.drone.yml
16
.drone.yml
|
@ -10,15 +10,15 @@ branch:
|
||||||
steps:
|
steps:
|
||||||
- name: Docker Build
|
- name: Docker Build
|
||||||
image: docker:dind
|
image: docker:dind
|
||||||
- sleep 5 # give docker enough time to start
|
commands:
|
||||||
- echo $DOCKER_PASSWORD
|
- sleep 5 # give docker enough time to start
|
||||||
- echo $DOCKER_PASSWORD | docker login --username silson --password-stdin registry.hub.docker.com
|
- echo $DOCKER_PASSWORD
|
||||||
- docker build -t silson/php-apache-rsvg .
|
- echo $DOCKER_PASSWORD | docker login --username silson --password-stdin registry.hub.docker.com
|
||||||
- docker push --all-tags https://hub.docker.com/r/silson/php-apache-rsvg
|
- docker build -t silson/php-apache-rsvg .
|
||||||
|
- docker push --all-tags https://hub.docker.com/r/silson/php-apache-rsvg
|
||||||
environment:
|
environment:
|
||||||
DOCKER_PASSWORD:
|
DOCKER_PASSWORD:
|
||||||
from_secret: github_password
|
from_secret: github_password
|
||||||
|
|
||||||
#settings:
|
#settings:
|
||||||
# repo: silson/php-apache-rsvg
|
# repo: silson/php-apache-rsvg
|
||||||
|
|
Loading…
Reference in a new issue