Skip to content

Commit

Permalink
fix: Use Overwrite DOCKER_TAG for juypter
Browse files Browse the repository at this point in the history
  • Loading branch information
MoritzWeber0 committed Feb 27, 2023
1 parent c382438 commit 2f2bb39
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ci-templates/gitlab/image-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -444,13 +444,14 @@ jupyter:
when: always
variables:
BASE_IMAGE: $DOCKER_REGISTRY/base2
IMAGE: $DOCKER_REGISTRY/jupyter-notebook:python-3.11-$CI_COMMIT_REF_NAME
IMAGE: $DOCKER_REGISTRY/jupyter-notebook
script:
- export DOCKER_TAG=python-3.11-$BASE_IMAGE_TAG
- *prepare
- *docker
- |
docker build $DOCKER_BUILD_ARGS \
-t $IMAGE \
-t $IMAGE:$DOCKER_TAG \
--build-arg BASE_IMAGE=$BASE_IMAGE \
jupyter-notebook
- docker push $IMAGE
- *push

0 comments on commit 2f2bb39

Please sign in to comment.