Fix ci & push image to Docker
This commit is contained in:
parent
5b55a30d57
commit
b2841e2e24
1 changed files with 2 additions and 2 deletions
|
@ -53,8 +53,8 @@ buildimage:
|
||||||
# - buildjar
|
# - buildjar
|
||||||
before_script:
|
before_script:
|
||||||
- echo "---------- BEFORE -------------"
|
- echo "---------- BEFORE -------------"
|
||||||
- echo "$CI_REGISTRY_PASSWORD" | docker login $CI_REGISTRY --username $CI_REGISTRY_USER --password-stdin
|
# - echo "$CI_REGISTRY_PASSWORD" | docker login $CI_REGISTRY --username $CI_REGISTRY_USER --password-stdin
|
||||||
# - docker login -u dda.DOCKERHUB_USER -p dda.DOCKERHUB_PASSWORD
|
- docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PASSWORD
|
||||||
script:
|
script:
|
||||||
- export DOCKER_BUILDKIT=1
|
- export DOCKER_BUILDKIT=1
|
||||||
- docker build --tag=$DOCKERHUB_USER/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 .
|
||||||
|
|
Loading…
Reference in a new issue