diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 6a28388c..34056c82 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -53,3 +53,21 @@ jobs: platforms: linux/arm64,linux/amd64 push: true tags: sonatypecommunity/nexus3:${{ env.NXRM_VERSION }}-java17 + + - name: Build and push Java 11 (alpine) + uses: docker/build-push-action@v5 + with: + context: . + file: ./Dockerfile.alpine.java11 + platforms: linux/arm64,linux/amd64 + push: true + tags: sonatypecommunity/nexus3:${{ env.NXRM_VERSION }}-java11-alpine + + - name: Build and push Java 17 (alpine) + uses: docker/build-push-action@v5 + with: + context: . + file: ./Dockerfile.alpine.java17 + platforms: linux/arm64,linux/amd64 + push: true + tags: sonatypecommunity/nexus3:${{ env.NXRM_VERSION }}-java17-alpine