diff --git a/.drone.yml b/.drone.yml index ba7ee35..bb6b034 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,9 +1,11 @@ kind: pipeline type: kubernetes -name: Container image (Harbor) +name: Container image steps: -- name: Build & publish +- name: Build & publish (Harbor) + depends_on: + - clone image: plugins/docker context: . settings: @@ -15,14 +17,9 @@ steps: from_secret: harbor_username password: from_secret: harbor_password - ---- -kind: pipeline -type: kubernetes -name: Container image (Dockerhub) - -steps: -- name: Build & publish +- name: Build & publish (Dockerhub) + depends_on: + - clone image: plugins/docker context: . settings: @@ -46,7 +43,7 @@ steps: - | helm package ./charts/json-server - | - ls /etc/apk/repositories -lash + cat /etc/apk/repositories # curl \ # --header "Authorization: token $GIT_APIKEY" \ # --upload-file json-server-$CHART_VERSION.tar \