drone-netlify/.drone.yml

78 lines
1.1 KiB
YAML

---
kind: pipeline
name: linux-amd64
platform:
os: linux
arch: amd64
steps:
- name: dryrun
pull: always
image: plugins/docker:linux-amd64
settings:
dry_run: true
password:
from_secret: docker_password
repo: internetmat/drone-netlify
tags: linux-amd64
username:
from_secret: docker_username
when:
event:
- pull_request
- name: publish
pull: always
image: plugins/docker:linux-amd64
settings:
auto_tag: true
auto_tag_suffix: linux-amd64
password:
from_secret: docker_password
repo: internetmat/drone-netlify
username:
from_secret: docker_username
when:
event:
- push
- tag
trigger:
branch:
- master
- main
---
kind: pipeline
name: notifications
platform:
os: linux
arch: amd64
steps:
- name: manifest
pull: always
image: plugins/manifest:latest
settings:
ignore_missing: true
password:
from_secret: docker_password
spec: manifest.tmpl
username:
from_secret: docker_username
trigger:
branch:
- master
- main
event:
- push
- tag
depends_on:
- linux-amd64
...