stuff for tests with MySqlConnector for dotnet

This commit is contained in:
2019-09-23 17:48:13 +02:00
parent 3c3aca5442
commit f27344a396
5 changed files with 21 additions and 30 deletions

View File

@ -5,7 +5,6 @@ stages:
variables:
IMAGE_NAME: registry.gitlab.com/wolutator/mariadb-with-ldap-pam
HUB_IMAGE_NAME: wollud1969/mariadb-with-ldap-pam
build:
stage: build
@ -15,11 +14,7 @@ build:
- docker
script:
- VERSION=`cat VERSION`
- docker build --tag $IMAGE_NAME:latest --tag $IMAGE_NAME:$VERSION --tag $HUB_IMAGE_NAME:$VERSION --tag $HUB_IMAGE_NAME:latest .
- docker build --tag $IMAGE_NAME:$VERSION .
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker push $IMAGE_NAME:latest
- docker push $IMAGE_NAME:$VERSION
- docker login -u $DOCKER_HUB_LOGIN -p $DOCKER_HUB_PASSWORD
- docker push $HUB_IMAGE_NAME:latest
- docker push $HUB_IMAGE_NAME:$VERSION