ci fix
This commit is contained in:
22
.gitlab-ci.yml
Normal file
22
.gitlab-ci.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
image: docker:19.03.1
|
||||
|
||||
variables:
|
||||
REGISTRY: 144.91.121.112:8082
|
||||
DEV_TAG: q-cbs-transaction-manager-spring-boot:develop
|
||||
TAG: q-cbs-transaction-manager-spring-boot:0.0.0-RELEASE
|
||||
DOCKER_OPTS: "--insecure-registry=$REGISTRY"
|
||||
|
||||
stages:
|
||||
- package
|
||||
|
||||
before_script:
|
||||
- docker info
|
||||
- docker login -u admin -p 1aae6202-7d42-44e4-bdc7-d988a95fdfe2 $REGISTRY
|
||||
|
||||
package:
|
||||
stage: package
|
||||
script:
|
||||
- docker build -f Dockerfile-lab -t "$REGISTRY/$DEV_TAG" .
|
||||
- docker push "$REGISTRY/$DEV_TAG"
|
||||
only:
|
||||
- develop
|
||||
Reference in New Issue
Block a user