Skip to content

Commit

Permalink
Added ARM image
Browse files Browse the repository at this point in the history
Signed-off-by: David Matějček <[email protected]>
  • Loading branch information
dmatej committed Aug 6, 2024
1 parent c41e2a5 commit 8495def
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,17 @@ env:
jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
os:
- ubuntu-24.04
platform:
- amd64
- arm64
- arm

runs-on: [ ${{ matrix.os }}, ${{ matrix.platform }} ]

permissions:
contents: read
packages: write
Expand All @@ -22,7 +32,7 @@ jobs:
id-token: write

steps:
- name: Checkout repository
- name: Checkout Repository
uses: actions/checkout@v4

- name: Maven Configure
Expand All @@ -32,7 +42,7 @@ jobs:
distribution: 'temurin'

- name: Maven Build
run: set -x && mvn -v && mvn clean package -Dglassfish.version=$IMAGE_VERSION && docker image tag glassfish:$IMAGE_VERSION $IMAGE_ID:$IMAGE_VERSION && docker image tag glassfish:$IMAGE_VERSION $IMAGE_ID:latest && docker images | sort
run: set -x && mvn -v && uname -a && mvn clean package -Dglassfish.version=$IMAGE_VERSION && docker image tag glassfish:$IMAGE_VERSION $IMAGE_ID:$IMAGE_VERSION && docker image tag glassfish:$IMAGE_VERSION $IMAGE_ID:latest && docker images | sort

- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
Expand Down

0 comments on commit 8495def

Please sign in to comment.