From 033490a8965876b8377f1565ba6b7ca6557e595c Mon Sep 17 00:00:00 2001 From: Mirco Date: Thu, 25 Jul 2024 15:38:31 +0200 Subject: [PATCH] Fix ci & push image to Docker --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fb2bf34..f004ed1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -54,10 +54,11 @@ buildimage: before_script: - echo "---------- BEFORE -------------" - echo "$CI_REGISTRY_PASSWORD" | docker login $CI_REGISTRY --username $CI_REGISTRY_USER --password-stdin +# - docker login -u dda.DOCKERHUB_USER -p dda.DOCKERHUB_PASSWORD script: - export DOCKER_BUILDKIT=1 - - docker build --tag=latest --target=ci-image-stage --build-arg BUILDKIT_INLINE_CACHE=1 . - - docker push $CI_REGISTRY_USER/moderator-election-vaadin_fullstack + - docker build --tag=moderator-election-vaadin_fullstack:latest --target=ci-image-stage --build-arg BUILDKIT_INLINE_CACHE=1 . + - docker push $DOCKERHUB_USER/moderator-election-vaadin_fullstack # stage: image # script: