feat: arm64 support for docker image (#432)

This commit is contained in:
Antti Ellilä 2023-05-15 18:01:44 +03:00 committed by GitHub
parent 463f5cb120
commit 3b7ee64d37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -75,6 +75,7 @@ jobs:
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/amd64,linux/arm64
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
push: ${{ github.event_name != 'pull_request' }}

View File

@ -1,10 +1,7 @@
FROM eclipse-temurin:17-jre-alpine
FROM eclipse-temurin:17-jre-jammy
WORKDIR /app
RUN apk update && \
apk upgrade
COPY build/release/*-cli.jar cli.jar
ENTRYPOINT [ "java", "-jar", "cli.jar" ]