This commit is contained in:
parent
29f8f24d09
commit
4dbe618274
30
.drone.yml
30
.drone.yml
@ -1,9 +1,9 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: Harbor
|
name: Container image (Harbor)
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build & publish
|
- name: Build & publish
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
context: .
|
context: .
|
||||||
settings:
|
settings:
|
||||||
@ -19,10 +19,10 @@ steps:
|
|||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: Dockerhub
|
name: Container image (Dockerhub)
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build & publish
|
- name: Build & publish
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
context: .
|
context: .
|
||||||
settings:
|
settings:
|
||||||
@ -33,3 +33,25 @@ steps:
|
|||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: kubernetes
|
||||||
|
name: Helm chart (Gitea)
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Package & publish
|
||||||
|
image: bv11-cr01.bessems.eu/proxy/alpine/helm
|
||||||
|
commands:
|
||||||
|
- |
|
||||||
|
helm package ./charts/json-server
|
||||||
|
- |
|
||||||
|
ls -lash
|
||||||
|
# curl \
|
||||||
|
# --header "Authorization: token $GIT_APIKEY" \
|
||||||
|
# --upload-file bin/npp-prepper \
|
||||||
|
# https://code.spamasaurus.com/api/packages/$GIT_USERNAME/generic/npp-prepper/$BINARY_VERSION/npp-prepper
|
||||||
|
environment:
|
||||||
|
GIT_APIKEY:
|
||||||
|
from_secret: git_apikey
|
||||||
|
GIT_USERNAME: djpbessems
|
||||||
|
Loading…
Reference in New Issue
Block a user