Skip to content
Snippets Groups Projects
Commit 33fa70c7 authored by s80984's avatar s80984
Browse files

update pipline build

parent 7d9e710e
No related branches found
No related tags found
No related merge requests found
Pipeline #14115 failed
......@@ -29,11 +29,10 @@ job_build-image:
- docker info
- docker-compose --version
script:
- docker-compose build --tag "${CI_REGISTRY_IMAGE}:${CI_PIPELINE_IID}-${CI_COMMIT_SHORT_SHA}"
# - docker-compose build
# --file "server/Containerfile"
# --tag "${CI_REGISTRY_IMAGE}:${CI_PIPELINE_IID}-${CI_COMMIT_SHORT_SHA}"
# "./"
# - docker-compose build --tag "${CI_REGISTRY_IMAGE}:${CI_PIPELINE_IID}-${CI_COMMIT_SHORT_SHA}"
- docker-compose build
--file "server/Containerfile"
--tag "${CI_REGISTRY_IMAGE}:${CI_PIPELINE_IID}-${CI_COMMIT_SHORT_SHA}"
# # NOTE: push image to local registry so that it can be accessed in subsequent jobs
- docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
- docker push "${CI_REGISTRY_IMAGE}:${CI_PIPELINE_IID}-${CI_COMMIT_SHORT_SHA}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment