php-apache-rsvg/.drone.yml
Stefan H 334c3c07e3
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Einrückung korrigiert
2024-01-18 17:05:21 +01:00

27 lines
622 B
YAML

---
kind: pipeline
type: docker
name: default
trigger:
branch:
- master
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
environment:
DOCKER_PASSWORD:
from_secret: github_password
#settings:
# repo: silson/php-apache-rsvg
# username: silson
# password:
# from_secret: github_password