This commit is contained in:
parent
f2059ad480
commit
5d2945a145
48
.drone.yml
Normal file
48
.drone.yml
Normal file
|
@ -0,0 +1,48 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: make
|
||||
image: docker:dind
|
||||
environment:
|
||||
USERNAME:
|
||||
from_secret: docker_username
|
||||
PASSWORD:
|
||||
from_secret: docker_password
|
||||
REGISTRY:
|
||||
from_secret: docker_registry
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run
|
||||
commands:
|
||||
- sleep 5 # give docker enough time to start
|
||||
- docker login -u $USERNAME -p $PASSWORD $REGISTRY
|
||||
- make manifest-list
|
||||
- name: notify
|
||||
image: plugins/matrix
|
||||
when:
|
||||
status:
|
||||
- success
|
||||
- failure
|
||||
settings:
|
||||
homeserver:
|
||||
from_secret: matrix-homeserver
|
||||
roomid:
|
||||
from_secret: matrix-room-id
|
||||
userid:
|
||||
from_secret: matrix-user-id
|
||||
accesstoken:
|
||||
from_secret: matrix-access-token
|
||||
|
||||
services:
|
||||
- name: docker
|
||||
image: docker:dind
|
||||
privileged: true
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run
|
||||
|
||||
volumes:
|
||||
- name: dockersock
|
||||
temp: {}
|
Loading…
Reference in New Issue
Block a user