Update .gitlab-ci.yml

This commit is contained in:
Administrator 2021-02-11 20:18:34 +00:00
parent 0294aaf57a
commit 30666a0e2b
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,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 $ARTIFACT_NAME.jar
- docker rm $PACKAGE_CONTAINER_NAME
- docker build -t $CI_REGISTRY_IMAGE_BACKEND -f backend.Dockerfile --build-arg PORT=$BACKEND_PORT --build_arg ARTIFACT_NAME=$ARTIFACT_NAME .
- docker build -t $CI_REGISTRY_IMAGE_BACKEND -f backend.Dockerfile --build-arg PORT=$BACKEND_PORT --build-arg ARTIFACT_NAME=$ARTIFACT_NAME .
- docker push $CI_REGISTRY_IMAGE_BACKEND
artifacts:
paths: