1
0
Fork 0

add drone config
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Torma Kristóf 2023-12-13 17:16:40 +01:00
parent d869bd3601
commit 342ac0f32d
1 changed files with 32 additions and 0 deletions

32
.drone.yml Normal file
View 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}