php-apache-rsvg/.drone.yml

28 lines
630 B
YAML
Raw Normal View History

2024-01-18 16:32:07 +01:00
---
kind: pipeline
type: docker
name: default
trigger:
branch:
- master
steps:
- name: Docker Build
2024-01-18 17:00:09 +01:00
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