26 lines
581 B
YAML
26 lines
581 B
YAML
|
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: 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}
|