This commit is contained in:
parent
500b218cb8
commit
d925cfc168
15
.drone.yml
15
.drone.yml
@ -40,14 +40,19 @@ steps:
|
|||||||
- name: Package & publish
|
- name: Package & publish
|
||||||
image: bv11-cr01.bessems.eu/proxy/alpine/helm
|
image: bv11-cr01.bessems.eu/proxy/alpine/helm
|
||||||
commands:
|
commands:
|
||||||
|
- |
|
||||||
|
apk add yq
|
||||||
|
- |
|
||||||
|
CHART_VERSION=$(cat ./charts/json-server/Chart.yaml | yq '.version')
|
||||||
|
echo $CHART_VERSION
|
||||||
- |
|
- |
|
||||||
helm package ./charts/json-server
|
helm package ./charts/json-server
|
||||||
- |
|
- |
|
||||||
cat /etc/apk/repositories
|
# 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 \
|
||||||
# https://code.spamasaurus.com/api/packages/$GIT_USERNAME/generic/json-server/$CHART_VERSION/json-server-$CHART_VERSION.tgz
|
https://code.spamasaurus.com/api/packages/$GIT_USERNAME/generic/json-server/$CHART_VERSION/json-server-$CHART_VERSION.tgz
|
||||||
environment:
|
environment:
|
||||||
GIT_APIKEY:
|
GIT_APIKEY:
|
||||||
from_secret: git_apikey
|
from_secret: git_apikey
|
||||||
|
Loading…
Reference in New Issue
Block a user