37 lines
621 B
YAML
37 lines
621 B
YAML
kind: pipeline
|
|
name: backend
|
|
|
|
steps:
|
|
- name: backend
|
|
image: plugins/docker
|
|
settings:
|
|
repo: caminsha/behaviobio
|
|
dockerfile: backend/Dockerfile
|
|
username:
|
|
from_secret: DOCKER_USERNAME
|
|
password:
|
|
from_secret: DOCKER_SECRET
|
|
when:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|
|
---
|
|
kind: pipeline
|
|
name: frontend
|
|
|
|
steps:
|
|
- name: frontend
|
|
image: plugins/docker
|
|
settings:
|
|
repo: caminsha/behaviobio
|
|
dockerfile: frontend/Dockerfile
|
|
username:
|
|
from_secret: DOCKER_USERNAME
|
|
password:
|
|
from_secret: DOCKER_SECRET
|
|
when:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|