This commit is contained in:
parent
d869bd3601
commit
342ac0f32d
32
.drone.yml
Normal file
32
.drone.yml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: clone_github
|
||||||
|
image: alpine/git
|
||||||
|
pull: always
|
||||||
|
commands:
|
||||||
|
- git clone https://github.com/kelaresg/go-skype-bridge.git
|
||||||
|
|
||||||
|
- name: patch_dockerfile
|
||||||
|
image: ubuntu
|
||||||
|
pull: always
|
||||||
|
commands:
|
||||||
|
- sed -i 's/\:3\.14//g' /drone/src/go-skype-bridge/Dockerfile
|
||||||
|
- sed -i 's/3\.14//g' /drone/src/go-skype-bridge/Dockerfile
|
||||||
|
|
||||||
|
- name: kaniko
|
||||||
|
image: plugins/kaniko
|
||||||
|
settings:
|
||||||
|
registry: registry.kmlabz.com
|
||||||
|
repo: registry.kmlabz.com/stargate-cluster/${DRONE_REPO_NAME}
|
||||||
|
username:
|
||||||
|
from_secret: DOCKER_USERNAME
|
||||||
|
password:
|
||||||
|
from_secret: DOCKER_PASSWORD
|
||||||
|
context: /drone/src/go-skype-bridge
|
||||||
|
dockerfile: /drone/src/go-skype-bridge/Dockerfile
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
- ${DRONE_BUILD_NUMBER}
|
Loading…
Reference in New Issue
Block a user