Skip to content

Commit

Permalink
chore(ci): build and publish Alpine based images for Java 11 and 17
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Horton <phorton@sonatype.com>
  • Loading branch information
madpah committed Jul 9, 2024
1 parent 3ad57dd commit 119d105
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 119d105

Please sign in to comment.