From fafddc2df0598cb0881aeca6da2db870bea86971 Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Sun, 2 Jan 2022 18:54:02 +0100 Subject: [PATCH] ci(octopus.k8s.vxm.cz): build image with proper tag --- sites/octopus.k8s.vxm.cz/.gitlab-ci.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/sites/octopus.k8s.vxm.cz/.gitlab-ci.yml b/sites/octopus.k8s.vxm.cz/.gitlab-ci.yml index 47218b8..15caa25 100644 --- a/sites/octopus.k8s.vxm.cz/.gitlab-ci.yml +++ b/sites/octopus.k8s.vxm.cz/.gitlab-ci.yml @@ -14,5 +14,16 @@ build: - cd sites/octopus.k8s.vxm.cz - yarn install --frozen-lockfile - yarn build - - docker build --tag $IMAGE --file ./build/Containerfile . + - docker build --tag $IMAGE:$IMAGE_TAG --file ./build/Containerfile . - docker push $IMAGE:$IMAGE_TAG + +# deploy: +# stage: deploy +# image: sikalabs/ci +# environment: +# name: production +# url: https://octopus.k8s.vxm.cz +# script: +# - cd sites/octopus.k8s.vxm.cz +# - mkdir -p _deploy/octopus.k8s.vxm.cz +# - helm template octopus.k8s.vxm.cz ./deploy/chart/octopus.k8s.vxm.cz --set image.repository=$IMAGE --set image.tag=$IMAGE_TAG > ./_deploy/octopus.k8s.vxm.cz/generated.yml