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
1
@@ -55,6 +55,10 @@ docker-build-latest:
script:
- docker build -t $DOCKER_NAMESPACE/$PROJECT_NAME:latest .
- docker save -o build/image.tar $DOCKER_NAMESPACE/$PROJECT_NAME:latest
artifacts:
paths:
- build/image.tar
expire_in: 10 mins # Optional: Set an expiration time for the artifact
docker-build-tag:
stage: build
@@ -67,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
# ===========================================================================
@@ -85,7 +93,7 @@ docker-push-latest:
stage: publish
image: docker
only:
- main
- main
before_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_TOKEN $DOCKER_REGISTRY
script: