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:
|
||||
- name: Docker Build
|
||||
image: docker:dind
|
||||
- sleep 5 # give docker enough time to start
|
||||
- echo $DOCKER_PASSWORD
|
||||
- echo $DOCKER_PASSWORD | docker login --username silson --password-stdin registry.hub.docker.com
|
||||
- docker build -t silson/php-apache-rsvg .
|
||||
- docker push --all-tags https://hub.docker.com/r/silson/php-apache-rsvg
|
||||
|
||||
commands:
|
||||
- sleep 5 # give docker enough time to start
|
||||
- echo $DOCKER_PASSWORD
|
||||
- echo $DOCKER_PASSWORD | docker login --username silson --password-stdin registry.hub.docker.com
|
||||
- docker build -t silson/php-apache-rsvg .
|
||||
- docker push --all-tags https://hub.docker.com/r/silson/php-apache-rsvg
|
||||
environment:
|
||||
DOCKER_PASSWORD:
|
||||
from_secret: github_password
|
||||
DOCKER_PASSWORD:
|
||||
from_secret: github_password
|
||||
|
||||
#settings:
|
||||
# repo: silson/php-apache-rsvg
|
||||
|
|
Loading…
Reference in a new issue