Skip to content

And we try again something else #25

And we try again something else

And we try again something else #25

name: Image for OH Pterodactyl JDK-17
on:
push:
branches:
- main
paths:
- Pterodactyl/GraalVM-OH/**
jobs:
push:
name: "Pterodactyl-GraalVM-OuiHeberg-${{ matrix.version }}"
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
strategy:
fail-fast: false
matrix:
version:
- jdk17
- jdk21
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: ./Pterodactyl
file: ./Pterodactyl/GraalVM/${{ matrix.version }}/Dockerfile
platforms: linux/amd64
push: true
tags: |
ghcr.io/akticube/containers:pterodactyl-graalvm-ouiheberg-${{ matrix.version }}