Skip to content
Snippets Groups Projects
Commit 55686385 authored by Kamel, George Dr (Elec Electronic Eng)'s avatar Kamel, George Dr (Elec Electronic Eng)
Browse files

Update .gitlab-ci.yml

parent d817e8ab
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
......@@ -4,8 +4,7 @@ stages:
- build
variables:
CONTAINER_IMAGE: gitlab-registry.eps.surrey.ac.uk/noc/kubectl
CONTAINER_TAG: helm
CONTAINER_IMAGE_TAG: helm
build:
image:
......@@ -20,8 +19,7 @@ build:
tags:
- noc-group-24-44
script:
- docker login -u noc -p yDXtzxsCdG9mBG1KF2Ef gitlab-registry.eps.surrey.ac.uk
- docker build -t ${CONTAINER_IMAGE} .
- docker tag ${CONTAINER_IMAGE} ${CONTAINER_IMAGE}:${CONTAINER_TAG}
- docker push ${CONTAINER_IMAGE}:${CONTAINER_TAG}
- docker login -u ${REGISTRY_USERNAME} -p ${REGISTRY_DEPLOY_TOKEN} ${CI_REGISTRY}
- docker build -t ${CI_REGISTRY_IMAGE} .
- docker tag ${CI_REGISTRY_IMAGE} ${CI_REGISTRY_IMAGE}:${CONTAINER_IMAGE_TAG}
- docker push ${CI_REGISTRY_IMAGE}:${CONTAINER_IMAGE_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