drone-netlify/.drone.yml

43 lines
683 B
YAML
Raw Normal View History

2020-01-15 02:39:12 +00:00
kind: pipeline
name: linux-amd64
platform:
os: linux
arch: amd64
steps:
- name: dryrun
pull: always
image: plugins/docker:linux-amd64
settings:
2022-10-21 03:54:41 +00:00
repo: internetmat/drone-netlify
tags: latest
2020-01-15 02:39:12 +00:00
dry_run: true
password:
from_secret: docker_password
username:
from_secret: docker_username
when:
event:
- pull_request
- name: publish
pull: always
image: plugins/docker:linux-amd64
settings:
2022-10-21 03:54:41 +00:00
repo: internetmat/drone-netlify
tags: latest
2022-10-21 04:03:13 +00:00
force_tag: true
2020-01-15 02:39:12 +00:00
password:
from_secret: docker_password
username:
from_secret: docker_username
when:
event:
- push
- tag
trigger:
branch:
2021-06-03 23:32:22 +00:00
- main