GitLab system status is available here and here

Commit ebadada6 authored by Kabir Kwatra's avatar Kabir Kwatra
Browse files

Fixed Issue Where each container image tag was treated as a seperate repo with Gitlab CI

parent eb5eb05d
...@@ -9,7 +9,7 @@ stages: [build] ...@@ -9,7 +9,7 @@ stages: [build]
before_script: before_script:
- docker info - docker info
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - echo -n $CI_JOB_TOKEN | docker login -u gitlab-ci-token --password-stdin $CI_REGISTRY
build: build:
stage: build stage: build
...@@ -19,7 +19,7 @@ build: ...@@ -19,7 +19,7 @@ build:
for containerfile_path in $(ls .github/containerfiles/*.Containerfile); do for containerfile_path in $(ls .github/containerfiles/*.Containerfile); do
containerfile_name=${containerfile_path##*/} containerfile_name=${containerfile_path##*/}
container_tag=${containerfile_name%%.*} container_tag=${containerfile_name%%.*}
container_fulltag="$CI_REGISTRY_IMAGE/$container_tag" container_fulltag="$CI_REGISTRY_IMAGE:$container_tag"
echo "Building $containerfile_name with tag $container_fulltag" echo "Building $containerfile_name with tag $container_fulltag"
docker build \ docker build \
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
Supports Markdown
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