Skip to content

Commit

Permalink
update pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Yanni8 authored Oct 26, 2023
1 parent a1c4cd9 commit 62e9782
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,15 @@ jobs:
with:
java-version: 17
distribution: microsoft

- name: Build with Maven
run: mvn -B package --no-transfer-progress


- uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: 'arm64,arm'
- name: Setup Buildx
uses: docker/setup-buildx-action@v2

- name: Login to DockerRegistry
uses: docker/login-action@v2
with:
Expand All @@ -36,7 +34,8 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
run: |
docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/bbzblit/stundenplan-api/app:latest --push .
mvn -B package --no-transfer-progress
docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/bbzblit/m233/app:latest --push .
- name: Check if tests passed
run: mvn -B test --no-transfer-progress
Expand Down

0 comments on commit 62e9782

Please sign in to comment.