drone-netlify/.drone.yml

43 lines
683 B
YAML

kind: pipeline
name: linux-amd64
platform:
os: linux
arch: amd64
steps:
- name: dryrun
pull: always
image: plugins/docker:linux-amd64
settings:
repo: internetmat/drone-netlify
tags: latest
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:
repo: internetmat/drone-netlify
tags: latest
force_tag: true
password:
from_secret: docker_password
username:
from_secret: docker_username
when:
event:
- push
- tag
trigger:
branch:
- main