drone-netlify/.drone.yml

42 lines
663 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
password:
from_secret: docker_password
username:
from_secret: docker_username
when:
event:
- push
- tag
trigger:
branch:
- main