diff --git a/.drone.yml b/.drone.yml index 79f9122..168d5f2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,9 +9,19 @@ branch: steps: - name: Docker Build - image: plugins/docker - settings: - repo: silson/php-apache-rsvg - username: silson - password: - from_secret: github_password + environment: + DOCKER_PASSWORD: + from_secret: github_password + 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 + + + #settings: + # repo: silson/php-apache-rsvg + # username: silson + # password: + # from_secret: github_password