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: ...@@ -5,13 +5,15 @@ stages:
- build - build
- deploy - deploy
.be-build-job: #==[ Backend build ]============================================================
variables:
IMAGE_NAME: $CI_REGISTRY_IMAGE/backend be-build-job:
stage: build
image: docker:latest image: docker:latest
stage: build
services: services:
- docker:dind - docker:dind
variables:
IMAGE_NAME: $CI_REGISTRY_IMAGE/backend
before_script: before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_JOB_TOKEN https://$CI_REGISTRY - docker login -u $CI_REGISTRY_USER -p $CI_JOB_TOKEN https://$CI_REGISTRY
script: script:
...@@ -24,7 +26,8 @@ stages: ...@@ -24,7 +26,8 @@ stages:
backend backend
- docker image push --all-tags $IMAGE_NAME - docker image push --all-tags $IMAGE_NAME
only: only:
- main - main # TODO: tags
- development
#==[ Backend deployment ]======================================================= #==[ Backend deployment ]=======================================================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment