Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Sep 8, 2024
1 parent 800f8cc commit f0a6f92
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 22
- uses: gradle/actions/setup-gradle@v4
- run: ./gradlew installBotDist
- name: Install cosign
if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@v3
Expand Down
9 changes: 2 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
FROM gradle:jdk21 as builder
WORKDIR /usr/app
COPY . .
RUN ./gradlew --no-daemon plugin:installBotArchive

FROM eclipse-temurin:21-jre-alpine
FROM eclipse-temurin:22-jre-alpine

WORKDIR /usr/app
COPY --from=builder /usr/app/plugin/build/installBot .
COPY --from=builder build/install/bot-plugin .

ENTRYPOINT ["/usr/app/bin/mikmusic"]

0 comments on commit f0a6f92

Please sign in to comment.