buid: test new dockerfile #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: maven | |
- name: Build eureka-service | |
run: mvn -B package --file eureka-service/pom.xml | |
- name: Build api-gateway | |
run: mvn -B package --file api-gateway/pom.xml | |
- name: Build user-service | |
run: mvn -B package --file user-service/pom.xml | |
- name: Build auth-service | |
run: mvn -B package --file auth-service/pom.xml | |
- name: Build inventory-service | |
run: mvn -B package --file inventory-service/pom.xml | |
- name: Build reviews-service | |
run: mvn -B package --file reviews-service/pom.xml | |
- name: Build order-service | |
run: mvn -B package --file order-service/pom.xml | |
- name: Build notification-service | |
run: mvn -B package --file notification-service/pom.xml |