Skip to content

Commit

Permalink
👷 use graalvm setup
Browse files Browse the repository at this point in the history
  • Loading branch information
josuablejeru committed Aug 13, 2023
1 parent 93bcc94 commit 7494318
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: GraalVM build
on: [push, pull_request]

on:
push:
branches:
- main

jobs:
build-and-deploy:
Expand All @@ -11,10 +13,11 @@ jobs:
uses: actions/checkout@v2

- name: Setup GraalVM
uses: actions/setup-java@v2
uses: graalvm/setup-graalvm@v1
with:
java-version: '17.0.7'
distribution: 'graalvm'
java-version: '17'
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Build native docker image
run: ./gradlew bootBuildImage — imageName=${{ github.actor }}/${{ github.repository }}:latest
Expand Down

0 comments on commit 7494318

Please sign in to comment.