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

Update .gitlab-ci.yml

parent a21ca52d
No related branches found
No related tags found
No related merge requests found
Pipeline #442038 passed
stages:
- build
- deploy
build:
stage: build
......@@ -21,3 +22,19 @@ build:
- 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 --destination $CI_REGISTRY_IMAGE:front
deploy:
# tags:
# - example
stage: deploy
when: manual
script: echo "Deploying"
image: bitnami/kubectl:latest
script:
- kubectl apply -f yaml/service.yaml
- kubectl apply -f yaml/deployment.yaml
- kubectl -n default rollout restart deployment temp
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