Compare commits
2 Commits
c1df449f57
...
2e9d2ca143
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2e9d2ca143 | ||
|
|
4f0e7013e4 |
@@ -7,7 +7,7 @@ build_container:
|
||||
stage: build
|
||||
image: deps.global.bsf.tools/quay.io/buildah/stable:latest
|
||||
variables:
|
||||
IMAGE_NAME: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME"
|
||||
IMAGE_NAME: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-$CI__COMMIT_SHORT_SHA"
|
||||
before_script:
|
||||
- mkdir -p /tmp/buildah-storage
|
||||
- export BUILDAH_ROOT="/tmp/buildah-storage"
|
||||
@@ -16,7 +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
|
||||
- buildah push --storage-driver vfs $IMAGE_NAME
|
||||
- buildah push $IMAGE_NAME
|
||||
|
||||
deploy_helm_charts:
|
||||
stage: deploy
|
||||
@@ -37,4 +37,4 @@ deploy_helm_charts:
|
||||
script:
|
||||
- kubectl config use-context $CONTEXT
|
||||
- |
|
||||
helm upgrade --install warehouse13-dev ./helm/warehouse13 --namespace $NAMESPACE -f $VALUES_FILE
|
||||
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