Skip to content

Commit

Permalink
build: adds matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
timbru31 authored Nov 28, 2023
1 parent 6b8fb19 commit eea9fae
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 7 deletions.
38 changes: 35 additions & 3 deletions .github/workflows/buildx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,23 +92,55 @@ jobs:
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/arm/v7

- path: 17/jdk/20/alpine
tags: "alpine-jdk-20 alpine-jdk-iron 17-alpine-jdk-20 17-alpine-jdk-iron"
tags: "17-alpine-jdk-20 17-alpine-jdk-iron"
platforms: linux/amd64

- path: 17/jre/18
tags: "17-18 17-hydrogen 17-jre-18 17-jre-hydrogen"
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/arm/v7

- path: 17/jre/18/alpine
tags: "17-alpine-18 17-alpine-hydrogen 17-alpine-jre-18 17-alpine-jre-hydrogen alpine-18 alpine-hydrogen alpine-jre-18 alpine-jre-hydrogen"
tags: "17-alpine-18 17-alpine-hydrogen 17-alpine-jre-18 17-alpine-jre-hydrogen"
platforms: linux/amd64

- path: 17/jre/20
tags: "17-20 17-iron 17-jre-20 17-jre-iron"
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/arm/v7

- path: 17/jre/20/alpine
tags: "17-alpine-20 17-alpine-iron 17-alpine-jre-20 17-alpine-jre-iron alpine-20 alpine-iron alpine-jre-20 alpine-jre-iron"
tags: "17-alpine-20 17-alpine-iron 17-alpine-jre-20 17-alpine-jre-iron"
platforms: linux/amd64

- path: 21/jdk/18
tags: "21-jdk-18 21-jdk-hydrogen jdk-18 jdk-18-hydrogen"
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/arm/v7

- path: 21/jdk/18/alpine
tags: "alpine-jdk-18 alpine-jdk-hydrogen 21-alpine-jdk-18 21-alpine-jdk-hydrogen"
platforms: linux/amd64

- path: 21/jdk/20
tags: "21-jdk-20 21-jdk-iron jdk-20 jdk-20-iron"
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/arm/v7

- path: 21/jdk/20/alpine
tags: "alpine-jdk-20 alpine-jdk-iron 21-alpine-jdk-20 21-alpine-jdk-iron"
platforms: linux/amd64

- path: 21/jre/18
tags: "21-18 21-hydrogen 21-jre-18 21-jre-hydrogen"
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/arm/v7

- path: 21/jre/18/alpine
tags: "21-alpine-18 21-alpine-hydrogen 21-alpine-jre-18 21-alpine-jre-hydrogen alpine-18 alpine-hydrogen alpine-jre-18 alpine-jre-hydrogen"
platforms: linux/amd64

- path: 21/jre/20
tags: "21-20 21-iron 21-jre-20 21-jre-iron"
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/arm/v7

- path: 21/jre/20/alpine
tags: "21-alpine-20 21-alpine-iron 21-alpine-jre-20 21-alpine-jre-iron alpine-20 alpine-iron alpine-jre-20 alpine-jre-iron"
platforms: linux/amd64
steps:
- name: Checkout
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ jobs:
printf "\n\nJRE17 alpine with Node.js 20\n"
docker run -i $(docker build -q 17/jre/20/alpine) /bin/sh -c "java -version && node --version"
printf "\n\JDK21 with Node.js 18\n"
printf "\n\nJDK21 with Node.js 18\n"
docker run -i $(docker build -q 21/jdk/18) /bin/sh -c "java -version && node --version"
printf "\n\JDK21 alpine with Node.js 18\n"
printf "\n\nJDK21 alpine with Node.js 18\n"
docker run -i $(docker build -q 21/jdk/18/alpine) /bin/sh -c "java -version && node --version"
printf "\n\JDK21 with Node.js 20\n"
printf "\n\nJDK21 with Node.js 20\n"
docker run -i $(docker build -q 21/jdk/20) /bin/sh -c "java -version && node --version"
printf "\n\JDK21 alpine with Node.js 20\n"
printf "\n\nJDK21 alpine with Node.js 20\n"
docker run -i $(docker build -q 21/jdk/20/alpine) /bin/sh -c "java -version && node --version"
printf "\n\nJRE21 with Node.js 18\n"
Expand Down

0 comments on commit eea9fae

Please sign in to comment.