From 500b218cb8c48fef46e30c003e1c05fd69e3544b Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Wed, 10 May 2023 12:18:19 +0200 Subject: [PATCH] Debug alpine yq installation #2;Combine steps --- .drone.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) 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 \