Docker build
This commit is contained in:
parent
7be8023a2a
commit
2ab2995f73
|
@ -36,7 +36,7 @@ package-backend:
|
|||
- docker run --name $PACKAGE_CONTAINER_NAME $CI_REGISTRY_IMAGE_GRADLE gradle buildBackend
|
||||
- docker cp $PACKAGE_CONTAINER_NAME:/usr/src/cre/dist/backend/ColorRecipesExplorer.jar ColorRecipesExplorer-$CI_PIPELINE_IID.jar
|
||||
- docker rm $PACKAGE_CONTAINER_NAME
|
||||
- docker build -t $CI_REGISTRY_IMAGE_BACKEND --build-arg PORT=$BACKEND_PORT
|
||||
- docker build -t $CI_REGISTRY_IMAGE_BACKEND --build-arg PORT=$BACKEND_PORT .
|
||||
- docker push $CI_REGISTRY_IMAGE_BACKEND
|
||||
artifacts:
|
||||
paths:
|
||||
|
|
Loading…
Reference in New Issue