Docker build

This commit is contained in:
FyloZ 2021-02-11 14:58:00 -05:00
parent 7be8023a2a
commit 2ab2995f73
1 changed files with 1 additions and 1 deletions

View File

@ -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: