updates +add .drone.yml
Some checks failed
the build failed

This commit is contained in:
Andy 2018-07-04 22:02:29 +02:00
parent a6a8e2413e
commit 9ca53ee24b
Signed by: arno
GPG Key ID: 9076D5E6B31AE99C
3 changed files with 39 additions and 2 deletions

37
.drone.yml Normal file
View File

@ -0,0 +1,37 @@
# workspace:
# base: /workspace
# path: src/git.nixaid.com/arno/myapp/
#
# branches:
# - master
pipeline:
publish:
image: plugins/docker:17.12
auto_tag: true
auto_tag_suffix: linux-amd64
repo: andrey01/mps-youtube
# tags:
# - latest
# - 1
# - 1.1
# group: docker
# dockerfile: Dockerfile
secrets: [ docker_username, docker_password ]
when:
event: [push, tag]
branch: master
notify:
image: drillster/drone-email:latest
from: Drone CI <noreply@nixaid.com>
# from: drone-noreply@nixaid.com
host: mail.nixaid.com
port: 587
# username: arno
subject: NIXAID Drone Pipeline {{#success build.status}}SUCCESS{{else}}FAILURE{{/success}} Notification
# secrets: [ EMAIL_USERNAME, EMAIL_PASSWORD ]
# recipients: [ andrey.arapov@nixaid.com ]
when:
status: [success, failure] # changed
event: [push, tag]

View File

@ -1,4 +1,4 @@
FROM ubuntu:zesty FROM ubuntu:bionic
MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com> MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com>
# To avoid problems with Dialog and curses wizards # To avoid problems with Dialog and curses wizards

View File

@ -2,7 +2,7 @@ version: '2'
services: services:
mps-youtube: mps-youtube:
image: local/mps-youtube image: andrey01/mps-youtube
read_only: true read_only: true
network_mode: bridge network_mode: bridge
volumes: volumes: