Skip to content
Snippets Groups Projects
Commit 637d17e6 authored by M9713's avatar M9713
Browse files

Update .gitlab-ci.yml

parent fc5a02e8
No related branches found
No related tags found
No related merge requests found
Pipeline #509001 passed
......@@ -22,8 +22,7 @@ stages:
# SAST_GOSEC_LEVEL: 2
Backend:
stage: build
stage: build
# when: manual
image:
......@@ -37,16 +36,12 @@ Backend:
- echo "Building Backend"
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor
--context git://gitlab.labranet.jamk.fi/conduitmiau/conduit-backend/
--context git://gitlab.labranet.jamk.fi/conduitmiau/te-backend/
--dockerfile Dockerfile
--destination $CI_REGISTRY_IMAGE:backend-$CI_COMMIT_SHORT_SHA
Frontend:
stage: build
stage: build
# when: manual
image:
......@@ -60,8 +55,8 @@ Frontend:
- echo "Building Frontend"
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor
--context $CI_PROJECT_DIR/conduit-front
--dockerfile $CI_PROJECT_DIR/conduit-front/Dockerfile
--context git://gitlab.labranet.jamk.fi/conduitmiau/te-frontend/
--dockerfile Dockerfile
--destination $CI_REGISTRY_IMAGE:front-$CI_COMMIT_SHORT_SHA
#deploy mongodb:
......@@ -70,7 +65,6 @@ Frontend:
# - example
# stage: deploy mongodb
# when: manual
# script: echo "Deploying"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment