anderes image ausprobiert
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Stefan H. 2024-01-18 17:58:58 +01:00
parent 748f31f06c
commit 31173cca09

View file

@ -9,18 +9,19 @@ branch:
steps:
- name: Docker Build
image: docker:dind
commands:
- sleep 5 # give docker enough time to start
- 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
# image: docker:dind
# commands:
# - sleep 5 # give docker enough time to start
# - 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: dockerhub_password
image: plugins/docker
settings:
repo: silson/php-apache-rsvg
username: silson
password:
from_secret: dockerhub_password
#settings:
# repo: silson/php-apache-rsvg
# username: silson
# password:
# from_secret: github_password