EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 517dee0d authored by Lubomir Dolezal's avatar Lubomir Dolezal
Browse files

push chart fix

parent 5269c8e2
No related branches found
No related tags found
1 merge request!82Staging to master
......@@ -39,7 +39,7 @@ build-tag:
- docker build --cache-from "$IMAGE_8":latest -t "$IMAGE_8":dev -t "$IMAGE_8":$CI_COMMIT_TAG shibauth/
# - cd ./testing && ./gitlab_test.sh
# - if [ $? -ne 0 ]; then exit 1; fi # actually fail build
- cd -
# - cd -
- docker push "$IMAGE_1":$CI_COMMIT_TAG
- docker push "$IMAGE_2":$CI_COMMIT_TAG
- docker push "$IMAGE_3":$CI_COMMIT_TAG
......@@ -89,7 +89,7 @@ build-master-staging:
- docker build --cache-from "$IMAGE_8":latest -t "$IMAGE_8":dev -t "$IMAGE_8":"$TAG_USED" shibauth/
# - cd ./testing && ./gitlab_test.sh
# - if [ $? -ne 0 ]; then exit 1; fi # actually fail build
- cd -
# - cd -
- docker push "$IMAGE_1":"$TAG_USED"
- docker push "$IMAGE_2":"$TAG_USED"
- docker push "$IMAGE_3":"$TAG_USED"
......@@ -98,6 +98,10 @@ build-master-staging:
- docker push "$IMAGE_6":"$TAG_USED"
- docker push "$IMAGE_7":"$TAG_USED"
- docker push "$IMAGE_8":"$TAG_USED"
# push Helm chart
- cd ./chart
- "upload_filename=$(helm package | sed 's/^Successfully packaged chart and saved it to: \\(.*\\)/\\1/')"
- curl -u $HELM_CHART_REPOSITORY_CREDENTIALS -v -X POST https://charts-public.hub.eox.at/api/charts --data-binary "@${upload_filename}"
only:
- staging
- master
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment