This commit is contained in:
teddy
2025-04-17 16:28:23 +07:00
parent 4e1134fd74
commit 4dea97da24

View File

@@ -7,8 +7,10 @@ stages:
# build image on development server # build image on development server
build_image: build_image:
stage: build_image stage: build_image
script: before_script:
- cp $ENV_FILE $CI_PROJECT_DIR/.env - cp $ENV_FILE $CI_PROJECT_DIR/.env
- echo ENV=$ENV_FILE >> .env
script:
- echo "Isi file .env:" - echo "Isi file .env:"
- cat .env - cat .env
- docker build -t 36.66.3.44:7007/$PROJECT_NAME:$CI_PIPELINE_ID . - docker build -t 36.66.3.44:7007/$PROJECT_NAME:$CI_PIPELINE_ID .