1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

pipe docker

This commit is contained in:
MoonTestUse1
2025-02-09 02:12:43 +06:00
parent 5333771c8c
commit d898e60167

View File

@@ -11,15 +11,17 @@ build-backend:
stage: build
image: docker:20.10.16
variables:
DOCKER_TLS_CERTDIR: ""
DOCKER_HOST: tcp://docker:2375
DOCKER_TLS_CERTDIR: ""
DOCKER_TLS_VERIFY: 1
services:
- name: docker:20.10.16-dind
alias: docker
command: ["--tls=false"]
before_script:
- sleep 5
- docker info
- until docker info; do sleep 1; done
- echo $GOOGLE_CLOUD_ACCOUNT | docker login -u _json_key --password-stdin https://us.gcr.io
script:
- cd backend
- docker build -t backend:latest .