This commit is contained in:
@@ -16,6 +16,7 @@ build_container:
|
||||
# - buildah bud --build-arg NPM_REGISTRY=https://deps.global.bsf.tools/artifactory/api/npm/registry.npmjs.org/ --storage-driver vfs --isolation chroot -t $IMAGE_NAME .
|
||||
- buildah pull git.bitstorm.ca/bitforge/warehouse13:latest
|
||||
- buildah tag git.bitstorm.ca/bitforge/warehouse13:latest $IMAGE_NAME
|
||||
- echo "Pushing $IMAGE_NAME"
|
||||
- buildah push $IMAGE_NAME
|
||||
|
||||
deploy_helm_charts:
|
||||
@@ -36,5 +37,6 @@ deploy_helm_charts:
|
||||
# ONLY: ["branches", "!main"]
|
||||
script:
|
||||
- kubectl config use-context $CONTEXT
|
||||
- Echo "Deploy - $CI_REGISTRY_NAME - $CI_COMMIT_REF_SLUG - $CI_COMMIT_SHORT_SHA"
|
||||
- |
|
||||
helm upgrade --install warehouse13-dev ./helm/warehouse13 --namespace $NAMESPACE -f $VALUES_FILE --set app.image.repository=$CI_REGISTRY_NAME --set app.image.tag=$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
|
||||
Reference in New Issue
Block a user