build for armv7 too

This commit is contained in:
Athou
2023-04-25 10:12:53 +02:00
parent c2f3e42867
commit 90e2036cbe
2 changed files with 10 additions and 1 deletions

View File

@@ -14,6 +14,13 @@ jobs:
with:
fetch-depth: 0
# Setup
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Set up Java
uses: actions/setup-java@v3
with:
@@ -21,6 +28,7 @@ jobs:
distribution: "temurin"
cache: "maven"
# Build
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify
@@ -42,6 +50,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/arm/v7
push: ${{ github.ref_type == 'tag' && matrix.java == '8' }}
tags: |
athou/commafeed:latest

View File

@@ -1,4 +1,4 @@
FROM openjdk:17-alpine
FROM eclipse-temurin:17-jre
RUN mkdir -p /commafeed/data
VOLUME /commafeed/data