31 lines
727 B
YAML
31 lines
727 B
YAML
|
---
|
||
|
kind: pipeline
|
||
|
type: kubernetes
|
||
|
name: bringCookies
|
||
|
|
||
|
steps:
|
||
|
|
||
|
- name: build image
|
||
|
image: plugins/kaniko
|
||
|
settings:
|
||
|
dockerfile: Dockerfile
|
||
|
repo: katharina1602/drone-nextcloud
|
||
|
username:
|
||
|
from_secret: userdockerhub
|
||
|
password:
|
||
|
from_secret: passworddockerhub
|
||
|
tag:
|
||
|
- ${DRONE_COMMIT_SHA}
|
||
|
|
||
|
- name: test plugin
|
||
|
image: katharina1602/drone-nextcloud:${DRONE_COMMIT_SHA}
|
||
|
settings:
|
||
|
sourcepath: BringCookies/main.py
|
||
|
destinationpath: TestSourceCode/main.py
|
||
|
nextcloudinstance: cloud.uploadfilter24.eu
|
||
|
user:
|
||
|
from_secret: usernextcloud
|
||
|
password:
|
||
|
from_secret: passwordnextcloud
|
||
|
protocol: https
|
||
|
verifytls: true
|