Edit .gitlab-ci.yml

This commit is contained in:
hanif salafi 2025-12-24 13:46:38 +00:00
parent 25d3276cdc
commit 697eefa90f
1 changed files with 6 additions and 2 deletions

View File

@ -13,10 +13,14 @@ stages:
build-2:
stage: build-image
image: docker/compose:1.29.2
when: on_success
only:
- main
image:
name: docker:25.0.3-cli
services:
- name: docker:25.0.3-dind
command: ["--insecure-registry=103.31.38.120:8900"]
command: [ "--insecure-registry=103.31.38.120:8900" ]
script:
- docker login -u $DEPLOY_USERNAME -p $DEPLOY_TOKEN 103.31.38.120:8900
- docker-compose build