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