docker-webserver-nginx/.drone.yml

48 lines
987 B
YAML
Raw Permalink Normal View History

2024-12-13 11:16:51 +00:00
---
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:
2024-12-13 11:19:23 +00:00
- master
2024-12-13 11:16:51 +00:00
event:
- push
- cron
2024-12-19 10:37:57 +00:00
- 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