GitLab system status is available here and here

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

Fixed Invalid Build Script for Gitlab CI

parent 2a3acf97
......@@ -16,14 +16,11 @@ build:
script:
- docker pull $CI_REGISTRY_IMAGE:latest || true
- >
for containerfile_path in $(ls .github/containerfiles/*.Containerfile)
do
for containerfile_path in $(ls .github/containerfiles/*.Containerfile); do
containerfile_name=${containerfile_path##*/}
container_tag=${containerfile_name*/%%.*}
container_tag=${containerfile_name%%.*}
container_fulltag="CI_REGISTRY_IMAGE/$container_tag"
echo "Building $containerfile_name with tag $container_fulltag"
docker build \
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
--build-arg VCS_REF=`git rev-parse --short HEAD` \
......@@ -32,6 +29,5 @@ build:
-f $containerfile_path \
-t $container_fulltag \
.
docker push $container_fulltag
done
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