Skip to content
Snippets Groups Projects

Resolve "Move frontend to separate project"

Merged xkoloma1 requested to merge 1-move-frontend-to-separate-project into main
Files
2
+ 9
5
@@ -44,9 +44,9 @@ code_quality_json:
docker-build-latest:
stage: build
image: docker:git
# only:
# refs:
# - main
only:
refs:
- main
except:
variables:
- $CI_COMMIT_TAG
@@ -71,6 +71,10 @@ docker-build-tag:
script:
- docker build -t $DOCKER_NAMESPACE/$PROJECT_NAME:$CI_COMMIT_TAG .
- docker save -o build/image.tar $DOCKER_NAMESPACE/$PROJECT_NAME:$CI_COMMIT_TAG
artifacts:
paths:
- build/image.tar
expire_in: 10 mins # Optional: Set an expiration time for the artifact
# ===========================================================================
@@ -88,8 +92,8 @@ docker-build-tag:
docker-push-latest:
stage: publish
image: docker
# only:
# - main
only:
- main
before_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_TOKEN $DOCKER_REGISTRY
script: