Fix ci & push image to Docker

This commit is contained in:
Mirco 2024-07-25 16:12:18 +02:00
parent 033490a896
commit 5b55a30d57

View file

@ -57,7 +57,7 @@ buildimage:
# - docker login -u dda.DOCKERHUB_USER -p dda.DOCKERHUB_PASSWORD # - docker login -u dda.DOCKERHUB_USER -p dda.DOCKERHUB_PASSWORD
script: script:
- export DOCKER_BUILDKIT=1 - export DOCKER_BUILDKIT=1
- docker build --tag=moderator-election-vaadin_fullstack:latest --target=ci-image-stage --build-arg BUILDKIT_INLINE_CACHE=1 . - docker build --tag=$DOCKERHUB_USER/moderator-election-vaadin_fullstack:latest --target=ci-image-stage --build-arg BUILDKIT_INLINE_CACHE=1 .
- docker push $DOCKERHUB_USER/moderator-election-vaadin_fullstack - docker push $DOCKERHUB_USER/moderator-election-vaadin_fullstack
# stage: image # stage: image