From 851b1c8cf1f5c36d2f7e599df232a3794d82dcca Mon Sep 17 00:00:00 2001 From: M9713 <m9713@student.jamk.fi> Date: Fri, 22 Oct 2021 19:23:16 +0300 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 15df021..34df5fc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,18 +15,18 @@ build: - echo "Building Backend" - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json - /kaniko/executor - --context https://gitlab.labranet.jamk.fi/conduitmiau/conduit-backend - --dockerfile https://gitlab.labranet.jamk.fi/conduitmiau/conduit-backend/Dockerfile - --destination $CI_REGISTRY_IMAGE:backend + --context https://gitlab.labranet.jamk.fi/conduitmiau/conduit-backend + --dockerfile https://gitlab.labranet.jamk.fi/conduitmiau/conduit-backend/Dockerfile + --destination $CI_REGISTRY_IMAGE:backend # Build Frontend - echo "Building Frontend" - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json - /kaniko/executor - --context https://gitlab.labranet.jamk.fi/conduitmiau/conduit-front - --dockerfile https://gitlab.labranet.jamk.fi/conduitmiau/conduit-front/Dockerfile - --destination $CI_REGISTRY_IMAGE:frontend + --context https://gitlab.labranet.jamk.fi/conduitmiau/conduit-front + --dockerfile https://gitlab.labranet.jamk.fi/conduitmiau/conduit-front/Dockerfile + --destination $CI_REGISTRY_IMAGE:frontend -- GitLab