This commit is contained in:
parent
d75a0f1c6c
commit
7c95dc52ab
18
.drone.yml
18
.drone.yml
@ -1,13 +1,13 @@
|
||||
kind: pipeline
|
||||
type: exec
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: build and push
|
||||
image: docker:dind
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run
|
||||
commands:
|
||||
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
||||
- make docker_release
|
||||
@ -15,6 +15,14 @@ steps:
|
||||
branch:
|
||||
- master
|
||||
|
||||
services:
|
||||
- name: docker
|
||||
image: docker:dind
|
||||
privileged: true
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
|
Loading…
Reference in New Issue
Block a user