Changed setup
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
7098e7d8c2
commit
2c8682afe9
1 changed files with 16 additions and 6 deletions
22
.drone.yml
22
.drone.yml
|
@ -9,9 +9,19 @@ branch:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Docker Build
|
- name: Docker Build
|
||||||
image: plugins/docker
|
environment:
|
||||||
settings:
|
DOCKER_PASSWORD:
|
||||||
repo: silson/php-apache-rsvg
|
from_secret: github_password
|
||||||
username: silson
|
image: docker:dind
|
||||||
password:
|
- sleep 5 # give docker enough time to start
|
||||||
from_secret: github_password
|
- 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
|
||||||
|
|
||||||
|
|
||||||
|
#settings:
|
||||||
|
# repo: silson/php-apache-rsvg
|
||||||
|
# username: silson
|
||||||
|
# password:
|
||||||
|
# from_secret: github_password
|
||||||
|
|
Loading…
Reference in a new issue