|
@@ -33,6 +33,18 @@ docker:
|
|
refs:
|
|
refs:
|
|
- pushes
|
|
- pushes
|
|
|
|
|
|
|
|
+docker_tag:
|
|
|
|
+ stage: build
|
|
|
|
+ script:
|
|
|
|
+ - docker info
|
|
|
|
+ - docker login -u $DOCKER_USER -p $DOCKER_PWD docker.infra.flowdat.com
|
|
|
|
+ - docker pull $CONTAINER_IMAGE:latest || true
|
|
|
|
+ - docker build --no-cache --tag $CONTAINER_IMAGE:${CI_COMMIT_TAG} --build-arg DIR_INSTALL=/opt/installer/tools tools/
|
|
|
|
+ - docker push $CONTAINER_IMAGE:${CI_COMMIT_TAG}
|
|
|
|
+ only:
|
|
|
|
+ refs:
|
|
|
|
+ - tags
|
|
|
|
+
|
|
installer_branch:
|
|
installer_branch:
|
|
image: docker.infra.flowdat.com/fd3/sf-php:latest
|
|
image: docker.infra.flowdat.com/fd3/sf-php:latest
|
|
script:
|
|
script:
|