This commit is contained in:
parent
d925cfc168
commit
8609f79456
@ -42,16 +42,13 @@ steps:
|
||||
commands:
|
||||
- |
|
||||
apk add yq
|
||||
- |
|
||||
CHART_VERSION=$(cat ./charts/json-server/Chart.yaml | yq '.version')
|
||||
echo $CHART_VERSION
|
||||
- |
|
||||
helm package ./charts/json-server
|
||||
- |
|
||||
# cat /etc/apk/repositories
|
||||
CHART_VERSION=$(cat ./charts/json-server/Chart.yaml | yq '.version')
|
||||
curl \
|
||||
--header "Authorization: token $GIT_APIKEY" \
|
||||
--upload-file json-server-$CHART_VERSION.tar \
|
||||
--upload-file json-server-$CHART_VERSION.tgz \
|
||||
https://code.spamasaurus.com/api/packages/$GIT_USERNAME/generic/json-server/$CHART_VERSION/json-server-$CHART_VERSION.tgz
|
||||
environment:
|
||||
GIT_APIKEY:
|
||||
|
Loading…
Reference in New Issue
Block a user