aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml26
1 files changed, 2 insertions, 24 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 565adde..506ca7b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -18,30 +18,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- - name: Use Node.js 18.x
- if: matrix.image-type == 'native'
- uses: actions/setup-node@v3
- with:
- node-version: 18.x
- cache: 'yarn'
- - name: Install Node.js packages
- if: matrix.image-type == 'native'
- run: yarn install
- - name: Run build injection
- if: matrix.image-type == 'native'
- run: yarn inject
-
- - name: Use Java 17
- if: matrix.image-type == 'native'
- uses: actions/setup-java@v3
- with:
- distribution: 'temurin'
- java-version: '17'
- cache: 'maven'
- - name: Maven package
- if: matrix.image-type == 'native'
- run: mvn package -Pnative -Dquarkus.native.container-build=true -Dquarkus.container-image.build=true
-
- name: Setup Docker buildx
uses: docker/setup-buildx-action@v2
- name: Log into DockerHub
@@ -49,6 +25,7 @@ jobs:
with:
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_PASSWORD }}
+
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v4
@@ -59,6 +36,7 @@ jobs:
type=pep440,pattern={{major}}.{{minor}}
type=pep440,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }}
type=ref,event=branch
+
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v3