Skip to content

Commit

Permalink
Use our red hat ubi builder image
Browse files Browse the repository at this point in the history
Signed-off-by: cmoulliard <[email protected]>
  • Loading branch information
cmoulliard committed Dec 8, 2023
1 parent 07037c0 commit b7bd6b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,27 +40,32 @@ jobs:
steps:
- name: Checkout
uses: actions/[email protected]

- name: Cache .m2 registry
uses: actions/[email protected]
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-${{ github.sha }}
restore-keys: ${{ runner.os }}-maven-

- name: Setup Java
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'

- name: Setup sdkman
run: |
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdkman_auto_answer=false
sdkman_selfupdate_enable=false
- name: Setup jbang
run: |
sdk install jbang ${{matrix.jbang}}
sdk default jbang ${{matrix.jbang}}
- name: Integration Tests
run: |
cd samples/hello-spring
Expand Down
1 change: 1 addition & 0 deletions samples/hello-spring/pack.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ public class pack {
public static void main(String... args) {
Buildpack.builder()
.addNewFileContent(new File("."))
.withBuilderImage("quay.io/swowdrop/ubi-builder:latest")
.withFinalImage("snowdrop/hello-spring:latest")
.build();
}
Expand Down

0 comments on commit b7bd6b2

Please sign in to comment.