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

Update .gitlab-ci.yml

parent e5435044
No related branches found
No related tags found
No related merge requests found
Pipeline #439174 passed
......@@ -6,7 +6,7 @@ stages:
build:
stage: build_back
script: echo "Building"
script: echo "Building Backend"
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
......@@ -14,3 +14,15 @@ build:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR/backend-express --dockerfile $CI_PROJECT_DIR/backend-express/Dockerfile --destination $CI_REGISTRY_IMAGE:backend
#$CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
build:
stage: build_front
script: echo "Building Frontend"
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR/front-react --dockerfile $CI_PROJECT_DIR/front-react/Dockerfile --destination $CI_REGISTRY_IMAGE:backend
#$CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
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