Skip to content

Build Images

Build Images #7

Workflow file for this run

name: Build Images
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 20
cache: maven
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build images
run: |
mvn package jib:build --no-transfer-progress --pl resources-server -am
mvn package jib:build --no-transfer-progress --pl login-server -am
mvn package jib:build --no-transfer-progress --pl game-server -am