Verified Commit 23ce1544 authored by blint's avatar blint 😶
Browse files

try anouther thing

parent 70e5a558
image: golang:alpine
variables:
# REGISTRY: "registry.kszk.bme.hu/kszk/devteam"
CONTAINER_IMAGE: "becskasszasch:$CI_COMMIT_REF_NAME"
......@@ -23,8 +22,7 @@ go_build:
- app
- static
rules:
- if: $CI_COMMIT_TAG
changes:
- changes:
- admin/*
- auth/*
- db/*
......@@ -50,8 +48,7 @@ dockerhub:
needs:
- go_build
rules:
- if: $CI_COMMIT_TAG
changes:
- changes:
- admin/*
- auth/*
- db/*
......@@ -65,16 +62,16 @@ dockerhub:
- go.mod
- Dockerfile
Upgrade helm:
production:
stage: deploy
image:
name: docker.io/blintmester/base-helm-kubectl:1.0.1
entrypoint: [""]
needs:
- dockerhub
before_script:
- echo $KUBECONFIG
- chmod 600 $KUBECONFIG
# before_script:
# - echo $KUBECONFIG
# - chmod 600 $KUBECONFIG
script:
- bash
- cd "$CI_PROJECT_DIR"/k8s
......
......@@ -7,5 +7,5 @@ POSTGRES: "${POSTGRES}"
POSTGRES_PASS: "${POSTGRES_PASS}"
POSTGRES_USER: "${POSTGRES_USER}"
POSTGRES_DB: "${POSTGRES_DB}"
Tag: "v1.6.8"
Tag: "v1.6.9"
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