diff --git a/.drone.yml b/.drone.yml index 893661a..78d8cb5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,9 +1,9 @@ kind: pipeline type: kubernetes -name: Harbor +name: Container image (Harbor) steps: -- name: build & publish +- name: Build & publish image: plugins/docker context: . settings: @@ -19,10 +19,10 @@ steps: --- kind: pipeline type: kubernetes -name: Dockerhub +name: Container image (Dockerhub) steps: -- name: build & publish +- name: Build & publish image: plugins/docker context: . settings: @@ -33,3 +33,25 @@ steps: from_secret: docker_username 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