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: