Skip to content
Snippets Groups Projects
Commit 703c3e9a authored by Alexandra's avatar Alexandra
Browse files

fix(ci): wrong registry docker image path

parent 8360ae78
Branches
Tags
No related merge requests found
Pipeline #14255 passed
......@@ -9,7 +9,7 @@ build:
- export TAG=${CI_COMMIT_TAG:-latest}
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.e-biz.fr
- ./build.sh $TAG
- ./build.sh $TAG $CI_REGISTRY_IMAGE
- docker push $CI_REGISTRY_IMAGE:$TAG
rules:
- if: '$CI_COMMIT_BRANCH == "main"'
\ No newline at end of file
......@@ -3,5 +3,6 @@
set -e
TAG=${1:-latest}
REGISTRY=${2:-theia}
docker build --build-arg "version=$TAG" . -t "theia:$TAG" --no-cache
\ No newline at end of file
docker build --build-arg "version=$TAG" . -t "$REGISTRY:$TAG" --no-cache
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment