Simplify drone.yml
continuous-integration/drone/push Build is passing Details

main
mat ess 2022-10-20 23:54:41 -04:00
parent 6e0039f4ac
commit d28e4a08bf
1 changed files with 4 additions and 42 deletions

View File

@ -1,4 +1,3 @@
---
kind: pipeline
name: linux-amd64
@ -11,11 +10,11 @@ steps:
pull: always
image: plugins/docker:linux-amd64
settings:
repo: internetmat/drone-netlify
tags: latest
dry_run: true
password:
from_secret: docker_password
repo: internetmat/drone-netlify
tags: linux-amd64
username:
from_secret: docker_username
when:
@ -26,11 +25,10 @@ steps:
pull: always
image: plugins/docker:linux-amd64
settings:
auto_tag: true
auto_tag_suffix: linux-amd64
repo: internetmat/drone-netlify
tags: latest
password:
from_secret: docker_password
repo: internetmat/drone-netlify
username:
from_secret: docker_username
when:
@ -40,40 +38,4 @@ steps:
trigger:
branch:
- master
- main
---
kind: pipeline
name: notifications
platform:
os: linux
arch: amd64
steps:
- name: manifest
pull: always
image: plugins/manifest:latest
settings:
target: internetmat/drone-netlify:latest
auto_tag: true
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
...