Skip to content

Commit

Permalink
build: build docker images for sbt on multiple platforms + add new ve…
Browse files Browse the repository at this point in the history
…rsions of sbt (#4)
  • Loading branch information
FreddieMercuryDKT committed Oct 18, 2023
1 parent a94e75a commit 786a9d7
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
needs: build_base_images
strategy:
matrix:
sbt_version: [1.8.2, 1.8.3, 1.9.0, 1.9.1, 1.9.2]
sbt_version: [1.8.2, 1.8.3, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.6]
environment: docker-hub
runs-on: ubuntu-latest
steps:
Expand All @@ -70,6 +70,12 @@ jobs:
id: buildx
uses: docker/setup-buildx-action@v2

- name: Load short sha
uses: benjlevesque/short-sha@v2.2
id: short-sha
with:
length: 7

- name: Build corretto with sbt installed
id: docker_build_corretto_sbt
uses: docker/build-push-action@v4
Expand All @@ -82,9 +88,12 @@ jobs:
JDK_VERSION=8
SBT_VERSION=${{ matrix.sbt_version }}
push: true
tags: infrahelpers/dpp:jdk8-sbt${{ matrix.sbt_version }}
tags: |
infrahelpers/dpp:jdk8-sbt${{ matrix.sbt_version }}
infrahelpers/dpp:jdk8-sbt${{ matrix.sbt_version }}-${{ env.SHA }}
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/amd64,linux/arm64/v8

build_python_images:
needs: build_base_images
Expand Down

0 comments on commit 786a9d7

Please sign in to comment.