Skip to content
Snippets Groups Projects
Commit 30bc9018 authored by Ijaz Ahmad's avatar Ijaz Ahmad
Browse files

Update .gitlab-ci.yml, k8s-configs/deployment.yaml files

parent 7a455e90
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,8 @@ build-push:
deploy:
stage: deploy
script:
- sed -i "s/CI_IMAGE/$CI_REGISTRY_IMAGE\:$CI_COMMIT_SHA/g" k8s-configs/deployment.yaml
- sed -i "s/CI_IMAGE/$CI_REGISTRY_IMAGE/g" k8s-configs/deployment.yaml
- sed -i "s/TAG/$CI_COMMIT_SHA/g" k8s-configs/deployment.yam
- kubectl apply --namespace webproduction-prod -f k8s-configs/
only:
......
......@@ -19,7 +19,7 @@ spec:
- env:
- name: AUTHOR
value: Ijaz Ahmad
image: CI_IMAGE
image: CI_IMAGE:TAG
name: static-site
imagePullPolicy: Always
ports:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment