Graalvm arm support + Build time for Temurin optimzations #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: built java temurin amd64 | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "0 0 1 * *" | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - java/temurin/** | |
| jobs: | |
| push: | |
| name: "pterodactyl-yolks:java-temurin_${{ matrix.tag }}" | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| tag: [8, 11, 16, 17, 18, 19, 20, 21, 22, 23, 24] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: docker/setup-qemu-action@v2 | |
| - uses: docker/setup-buildx-action@v2 | |
| with: | |
| buildkitd-flags: --debug | |
| - uses: docker/login-action@v2 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: docker/build-push-action@v4 | |
| with: | |
| context: ./java | |
| file: ./java/temurin/${{ matrix.tag }}/Dockerfile | |
| platforms: linux/amd64,linux/arm64 | |
| push: true | |
| tags: | | |
| ghcr.io/vexodev/pterodactyl-yolks:java-temurin_${{ matrix.tag }} |