Verified Commit dbd0dbe4 authored by blint's avatar blint 😶
Browse files

try

parent 25c9c1a1
......@@ -79,3 +79,20 @@ production:
rules:
- if: $CI_COMMIT_TAG
when: manual
staging:
stage: deploy
image:
name: docker.io/blintmester/base-helm-kubectl:1.0.1
entrypoint: [""]
needs:
- dockerhub
before_script:
- echo $KUBECONFIG
- chmod 600 $KUBECONFIG
script:
- bash
- cd "$CI_PROJECT_DIR"/k8s
- envsubst < values.yaml | helm upgrade --install --wait becskasszasch . -n becskasszasch-staging --values -
rules:
- when: manual
\ No newline at end of file
......@@ -7,5 +7,5 @@ POSTGRES: "${POSTGRES}"
POSTGRES_PASS: "${POSTGRES_PASS}"
POSTGRES_USER: "${POSTGRES_USER}"
POSTGRES_DB: "${POSTGRES_DB}"
Tag: "v1.6.9"
Tag: "${CI_COMMIT_REF_NAME}"
REGISTRY_CONF: "${REGISTRY_CONF}"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment