Files
hlaskovnik-reimagined/.gitlab-ci.yml
T
2026-04-22 19:45:24 +02:00

17 lines
349 B
YAML
Executable File

stages:
- build
variables:
IMAGE_NAME: registry.gitlab.com/$CI_PROJECT_PATH
build:
stage: build
image: docker:latest
services:
- docker:dind
script:
- cd ./backend/
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
- docker build -t $IMAGE_NAME:latest .
- docker push $IMAGE_NAME:latest