Skip to content

Build image for arm64 too #58

Build image for arm64 too

Build image for arm64 too #58

Workflow file for this run

name: Build Docker image
on:
push:
branches:
- master
env:
JAVA_VERSION: 17
jobs:
docker:
name: Push to GitHub Container Registry
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Set up JDK
uses: "actions/setup-java@v1"
with:
java-version: ${{ env.JAVA_VERSION }}
- name: Checkout
uses: "actions/checkout@v2"
- name: "Login to ghcr.io"
uses: "docker/#-action@v1"
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Publish Docker Image
run: mvn package jib:build