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}