Skip to content

Commit

Permalink
💚 Update Docker image to use eclipse-temurin:21-jre. Disable distrole…
Browse files Browse the repository at this point in the history
…ss and graalvm images waiting base image to support Java 21
  • Loading branch information
ujibang committed Feb 20, 2024
1 parent 9f15d87 commit a4e3238
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,25 +76,25 @@ jobs:
pull: true # pull all required images before building
tags: softinstigate/restheart-snapshot:latest,softinstigate/restheart-snapshot:${{steps.vars.outputs.SHA}}

- name: Build and Push GraalVM Docker image
if: ${{ matrix.deploy }}
uses: docker/build-push-action@v4
with:
context: ./core/
file: ./core/Dockerfile.graalvm
push: true # push all images built
pull: true # pull all required images before building
tags: softinstigate/restheart-snapshot:graalvm,softinstigate/restheart-snapshot:${{steps.vars.outputs.SHA}}-graalvm
# - name: Build and Push GraalVM Docker image
# if: ${{ matrix.deploy }}
# uses: docker/build-push-action@v4
# with:
# context: ./core/
# file: ./core/Dockerfile.graalvm
# push: true # push all images built
# pull: true # pull all required images before building
# tags: softinstigate/restheart-snapshot:graalvm,softinstigate/restheart-snapshot:${{steps.vars.outputs.SHA}}-graalvm

- name: Build and Push distroless docker image
if: ${{ matrix.deploy }}
uses: docker/build-push-action@v4
with:
context: ./core/
file: ./core/Dockerfile.distroless
push: true # push all images built
pull: true # pull all required images before building
tags: softinstigate/restheart-snapshot:distroless,softinstigate/restheart-snapshot:${{steps.vars.outputs.SHA}}-distroless
# - name: Build and Push distroless docker image
# if: ${{ matrix.deploy }}
# uses: docker/build-push-action@v4
# with:
# context: ./core/
# file: ./core/Dockerfile.distroless
# push: true # push all images built
# pull: true # pull all required images before building
# tags: softinstigate/restheart-snapshot:distroless,softinstigate/restheart-snapshot:${{steps.vars.outputs.SHA}}-distroless

- name: Import private gpg key
if: ${{ matrix.deploy }}
Expand Down
2 changes: 1 addition & 1 deletion core/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM eclipse-temurin:17-jre
FROM eclipse-temurin:21-jre

LABEL maintainer="SoftInstigate <info@softinstigate.com>"

Expand Down

0 comments on commit a4e3238

Please sign in to comment.