Skip to content

Cleanup README

Cleanup README #5

Workflow file for this run

name: build graalvm
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
pterodactyl-graalvm:
name: "pterodactyl-graalvm:${{ matrix.tag }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tag:
- 11
- 17
- 19
- 17-JDK
- 20-JDK
- 21-JDK
- 22-JDK
- 23-JDK
- 11-EE
- 17-EE
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to GHCR
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ProtobitMC
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: meta_graalvm
uses: docker/metadata-action@v4
with:
# list of Docker images to use as base name for tags
images: |
ghcr.io/ProtobitMC/pterodactyl-graalvm
# generate Docker tags based on the following events/attributes
tags: |
type=raw,${{ matrix.tag }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
file: ./${{ matrix.tag }}/Dockerfile
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta_graalvm.outputs.tags }}
labels: ${{ steps.meta_graalvm.outputs.labels }}