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 2597937
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,16 @@ env:
jobs:
build:

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

runs-on: ${{ matrix.os }}

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

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

- name: Maven Configure
Expand All @@ -32,7 +41,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 2597937

Please sign in to comment.