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

changed build pipeline docker build not working

parent 32861f97
No related branches found
No related tags found
No related merge requests found
Pipeline #14205 failed
......@@ -38,7 +38,7 @@ job_build-image:
- echo ${CI_PIPELINE_IID}
- echo ${CI_COMMIT_SHORT_SHA}
# - docker-compose up -f docker-compose.test.yml -d
- docker build --file "./app/server/Dockerfile" --tag '${CI_REGISTRY_IMAGE}:${CI_PIPELINE_IID}-${CI_COMMIT_SHORT_SHA}' .
- docker build --file "./app/server/Dockerfile" --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