Debug alpine yq installation #2;Combine steps
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Danny Bessems 2023-05-10 12:18:19 +02:00
parent 5c9395d9ad
commit 500b218cb8

View File

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