From 374009c10303764ba1b2248dcc031b5ef5d1a111 Mon Sep 17 00:00:00 2001 From: Jonas Eppelt <jonas.eppelt@kit.edu> Date: Fri, 25 Aug 2023 11:56:18 +0000 Subject: [PATCH] bugfix --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d17cd1b..5e8667f 100755 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,12 +34,12 @@ create_jupytermachine_version: for image in "${IMAGES[@]}"; do # Read the existing base image from the Dockerfile OLD_BASE_IMAGE=$(grep -E '^\s*FROM\s+.*' Dockerfile | awk '{print $2}'); - echo $OLD_BASE_IMAGE + echo $OLD_BASE_IMAGE; # Replace "basic_jupytermachine" with the new base image name - NEW_BASE_IMAGE=$(IMAGE_PREFIX/etp_${image}); - echo $NEW_BASE_IMAGE + NEW_BASE_IMAGE=$IMAGE_PREFIX/etp_$image; + echo $NEW_BASE_IMAGE; sed -i "s/$OLD_BASE_IMAGE/$NEW_BASE_IMAGE/" "Dockerfile"; - cat Dockerfile + cat Dockerfile; # Build the second version of the container docker build -t "$IMAGE_PREFIX/jupytermachine_${image}" -f "Dockerfile" .; docker push "$IMAGE_PREFIX/jupytermachine_${image}"; -- GitLab