Skip to content

Commit

Permalink
Create a separate stage for native image
Browse files Browse the repository at this point in the history
  • Loading branch information
danslapman committed Feb 3, 2024
1 parent de5e39c commit 2e41861
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,15 @@ jobs:
ref: ${{ github.ref }}
head_ref: ${{ github.head_ref }}

- name: Compile and test
- name Lint and Test
run: |
cd backend
sbt "project mockingbird-native;clean;fixCheck;test"
- name: Create native image and stage image contents
run: |
cd backend
sbt "project mockingbird-native;clean;fixCheck;test;GraalVMNativeImage / packageBin;Docker / stage;"
sbt "project mockingbird-native;GraalVMNativeImage / packageBin;Docker / stage;"
- name: Build docker image for test
uses: docker/build-push-action@v3
Expand Down

0 comments on commit 2e41861

Please sign in to comment.