Skip to content
Snippets Groups Projects
Commit 2959dbed authored by s80984's avatar s80984
Browse files

update pipline build

parent 33fa70c7
No related branches found
No related tags found
No related merge requests found
Pipeline #14116 failed
...@@ -33,6 +33,7 @@ job_build-image: ...@@ -33,6 +33,7 @@ job_build-image:
- docker-compose build - docker-compose build
--file "server/Containerfile" --file "server/Containerfile"
--tag "${CI_REGISTRY_IMAGE}:${CI_PIPELINE_IID}-${CI_COMMIT_SHORT_SHA}" --tag "${CI_REGISTRY_IMAGE}:${CI_PIPELINE_IID}-${CI_COMMIT_SHORT_SHA}"
- docker ps
# # NOTE: push image to local registry so that it can be accessed in subsequent jobs # # 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 login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
- docker push "${CI_REGISTRY_IMAGE}:${CI_PIPELINE_IID}-${CI_COMMIT_SHORT_SHA}" - 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