Files
sample-project/.gitlab-ci.yml
T
2024-04-03 20:22:07 +03:00

36 lines
535 B
YAML

stages:
- build
- deploy
build_backend:
stage: build
tags:
- ci-test01
script: docker build -t my_backend notes-backend/
only:
- ci-test01
build_frontend:
stage: build
tags:
- ci-test01
script: docker build -t my_frontend notes-app/
only:
- ci-test01
build_nginx:
stage: build
tags:
- ci-test01
script: docker build -t my_nginx nginx/
only:
- ci-test01
deploy_network:
stage: deploy
tags:
- ci-test01
script: docker network create app || true
only:
- ci-test01