Skip to content

Commit 9c08b60

Browse files
committed
Adding build of Docker image
1 parent 49d32e2 commit 9c08b60

2 files changed

Lines changed: 27 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,20 @@ jobs:
1616
steps:
1717
- name: Checkout
1818
uses: actions/checkout@v4
19-
19+
20+
- name: Login to GitHub Container Registry
21+
uses: docker/login-action@v3
22+
with:
23+
registry: ghcr.io
24+
username: ${{ github.actor }}
25+
password: ${{ secrets.GITHUB_TOKEN }}
26+
27+
- name: Set up QEMU
28+
uses: docker/setup-qemu-action@v3
29+
30+
- name: Set up Docker Buildx
31+
uses: docker/setup-buildx-action@v3
32+
2033
- name: Set up JDK
2134
uses: actions/setup-java@v4
2235
with:
@@ -35,4 +48,12 @@ jobs:
3548
file: target/submit-runner.jar
3649
name: submit-runner.jar
3750
type: application/java-archive
38-
label: Uber-JAR
51+
label: Uber-JAR
52+
53+
- name: Build and push
54+
uses: docker/build-push-action@v6
55+
with:
56+
platforms: linux/amd64,linux/arm64
57+
path: src/main/docker/Dockerfile.jvm
58+
push: true
59+
tags: ghcr.io/javabin/submittheforce:edge

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@
5959
<groupId>io.quarkus</groupId>
6060
<artifactId>quarkus-rest</artifactId>
6161
</dependency>
62+
<dependency>
63+
<groupId>io.quarkus</groupId>
64+
<artifactId>quarkus-rest-jackson</artifactId>
65+
</dependency>
6266
<dependency>
6367
<groupId>io.quarkus</groupId>
6468
<artifactId>quarkus-rest-client-jackson</artifactId>

0 commit comments

Comments
 (0)