Skip to content

Commit

Permalink
Add ARM support
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Sep 14, 2024
1 parent 5d57cce commit a93e927
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
uses: sigstore/cosign-installer@v3
- name: Setup Docker buildx
uses: docker/setup-buildx-action@v3
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
- name: Log into registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
Expand All @@ -51,6 +53,7 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/arm64, linux/amd64
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Sign the published Docker image
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM eclipse-temurin:22-jre-alpine
FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:22-jre-alpine

WORKDIR /usr/app
COPY plugin/build/install/bot-plugin .
Expand Down

0 comments on commit a93e927

Please sign in to comment.