-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (30 loc) · 1.05 KB
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Online Shop
on:
push:
branches: [ "**" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build address-validation-service
run: mvn clean package -f address-validation-service/pom.xml -Dservice.name=address-validation-service
- name: Build delivery-service
run: mvn clean package -f delivery-service/pom.xml -Dservice.name=delivery-service
- name: Build billing-service
run: mvn clean package -f billing-service/pom.xml -Dservice.name=billing-service
- name: Build customer-service
run: mvn clean package -f customer-service/pom.xml -Dservice.name=customer-service
- name: Build with Docker
run: docker compose build
- name: Start with Docker
run: docker compose up -d
- name: Stop Docker Containers
run: docker compose down