parent
a6a8e2413e
commit
9ca53ee24b
37
.drone.yml
Normal file
37
.drone.yml
Normal 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]
|
@ -1,4 +1,4 @@
|
||||
FROM ubuntu:zesty
|
||||
FROM ubuntu:bionic
|
||||
MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com>
|
||||
|
||||
# To avoid problems with Dialog and curses wizards
|
||||
|
@ -2,7 +2,7 @@ version: '2'
|
||||
|
||||
services:
|
||||
mps-youtube:
|
||||
image: local/mps-youtube
|
||||
image: andrey01/mps-youtube
|
||||
read_only: true
|
||||
network_mode: bridge
|
||||
volumes:
|
||||
|
Loading…
Reference in New Issue
Block a user