33 lines
780 B
YAML
33 lines
780 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: 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}
|