anderes image ausprobiert
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
748f31f06c
commit
31173cca09
1 changed files with 13 additions and 12 deletions
25
.drone.yml
25
.drone.yml
|
@ -9,18 +9,19 @@ branch:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Docker Build
|
- name: Docker Build
|
||||||
image: docker:dind
|
# image: docker:dind
|
||||||
commands:
|
# commands:
|
||||||
- sleep 5 # give docker enough time to start
|
# - 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 login --username silson --password-stdin registry.hub.docker.com
|
||||||
- docker build -t silson/php-apache-rsvg .
|
# - docker build -t silson/php-apache-rsvg .
|
||||||
- docker push --all-tags https://hub.docker.com/r/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: dockerhub_password
|
from_secret: dockerhub_password
|
||||||
|
image: plugins/docker
|
||||||
#settings:
|
settings:
|
||||||
# repo: silson/php-apache-rsvg
|
repo: silson/php-apache-rsvg
|
||||||
# username: silson
|
username: silson
|
||||||
# password:
|
password:
|
||||||
# from_secret: github_password
|
from_secret: dockerhub_password
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue