1
0
Fork 0

Drone 1.0 syntax
continuous-integration/drone/push Build is failing Details

pull/6/head
Ambrose Chua 2018-12-02 01:37:56 +08:00 committed by GitHub
parent 4ded79407a
commit d04a9e9249
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 27 additions and 10 deletions

View File

@ -1,17 +1,34 @@
pipeline:
docker:
image: plugins/docker
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
registry: registry.makerforce.io
secrets: [ docker_username, docker_password ]
repo: registry.makerforce.io/ambrose/file-manager
dockerfile: Dockerfile
tags:
- latest
docker-env:
image: plugins/docker
- latest
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: docker-env
image: plugins/docker
settings:
registry: registry.makerforce.io
secrets: [ docker_username, docker_password ]
repo: registry.makerforce.io/ambrose/file-manager
dockerfile: Dockerfile.env
tags:
- env
- env
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: slack
image: plugins/slack
settings:
webhook:
from_secret: slack_webhook
when:
status: [ failure, success ]