1
0

add drone config
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Torma Kristóf 2023-12-13 17:35:21 +01:00
commit 050e8bc25b

25
.drone.yml Normal file
View File

@ -0,0 +1,25 @@
kind: pipeline
type: docker
name: default
steps:
- name: clone_github
image: alpine/git
pull: always
commands:
- git clone https://github.com/beeper/linkedin.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/linkedin
dockerfile: /drone/src/linkedin/Dockerfile
tags:
- latest
- ${DRONE_BUILD_NUMBER}