docker-webserver-nginx/.drone.yml
paspo d5e3e0148f
All checks were successful
continuous-integration/drone/push Build is passing
php7.4 image
2024-12-19 11:37:57 +01:00

48 lines
987 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: build_and_publish
image: plugins/docker:linux-amd64
settings:
force_tag: true
password:
from_secret: docker_password
registry: docker.asperti.com
repo: docker.asperti.com/paspo/webserver-nginx
context: .
dockerfile: ./Dockerfile
username:
from_secret: docker_username
tags:
- latest
when:
branch:
- master
event:
- push
- cron
- name: build_and_publish_php74
image: plugins/docker:linux-amd64
settings:
force_tag: true
password:
from_secret: docker_password
registry: docker.asperti.com
repo: docker.asperti.com/paspo/webserver-nginx
context: .
dockerfile: ./Dockerfile-php74
username:
from_secret: docker_username
tags:
- latest-php74
when:
branch:
- master
event:
- push
- cron