From 33a78aa793e78c17ecb8ca7835791fad78370f14 Mon Sep 17 00:00:00 2001 From: Maarten de Waard Date: Wed, 29 Sep 2021 15:27:55 +0200 Subject: [PATCH] try different build method --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4d43329..17ef198 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,7 @@ build-project: before_script: [] script: - echo "Building app" - - yarn + - yarn install # - echo "REACT_APP_API_URL=https://oas-api.initdevelopment.com/api/v1" > .env # - echo "EXTEND_ESLINT=true" >> .env - yarn build @@ -36,5 +36,5 @@ build-container: - cp deployment/nginx.conf web-build - cd web-build - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json - - /kaniko/executor --cache=true --context ${CI_PROJECT_DIR}/ --dockerfile ${CI_PROJECT_DIR}/web-build/Dockerfile --destination ${CI_REGISTRY_IMAGE}/${KANIKO_BUILD_IMAGENAME}:${CI_COMMIT_REF_NAME} + - /kaniko/executor --cache=true --context ${CI_PROJECT_DIR}/web-build --destination ${CI_REGISTRY_IMAGE}/${KANIKO_BUILD_IMAGENAME}:${CI_COMMIT_REF_NAME}