Skip to content
Snippets Groups Projects
Commit 442c6cc6 authored by Paolo.Brasolin's avatar Paolo.Brasolin
Browse files

ci: #be build step

parent 40bf9463
No related branches found
No related tags found
No related merge requests found
Pipeline #23159 failed
......@@ -5,13 +5,15 @@ stages:
- build
- deploy
.be-build-job:
variables:
IMAGE_NAME: $CI_REGISTRY_IMAGE/backend
stage: build
#==[ Backend build ]============================================================
be-build-job:
image: docker:latest
stage: build
services:
- docker:dind
variables:
IMAGE_NAME: $CI_REGISTRY_IMAGE/backend
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_JOB_TOKEN https://$CI_REGISTRY
script:
......@@ -24,7 +26,8 @@ stages:
backend
- docker image push --all-tags $IMAGE_NAME
only:
- main
- main # TODO: tags
- development
#==[ Backend deployment ]=======================================================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment