diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c2256157..d420fa84 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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' }} diff --git a/Dockerfile b/Dockerfile index 4f1cd863..5ba81412 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" ]