Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
kutzilla committed Jan 9, 2025
1 parent c20df2a commit 0e2e3bb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Build

on: [push, pull_request]

defaults:
run:
working-directory: quarkus-todo

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -14,7 +18,7 @@ jobs:
distribution: temurin
cache: maven
- name: Build with Maven
run: mvn -B clean verify -Pnative -Dquarkus.native.container-build=true
run: mvn -B clean verify -Dquarkus.native.container-build=true



11 changes: 8 additions & 3 deletions .github/workflows/build_and_push_to_ecr.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: build release and push to ECR
on: [push, pull_request]

defaults:
run:
working-directory: quarkus-todo

jobs:
build_and_push:
runs-on: ubuntu-latest
Expand All @@ -19,11 +24,11 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Set up JDK 17
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: "17"
distribution: "adopt" # See 'Supported distributions' for available options
java-version: "11"
distribution: "temurin" # See 'Supported distributions' for available options
cache: 'maven'

- name: Maven build image
Expand Down

0 comments on commit 0e2e3bb

Please sign in to comment.