Skip to content

Commit

Permalink
And we try again something else
Browse files Browse the repository at this point in the history
  • Loading branch information
LouissXI committed Oct 1, 2023
1 parent c36988a commit df7ff22
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 26 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/pterodactyl-graalvm-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,18 @@ jobs:
- jdk17-ee
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
with:
buildkitd-flags: --debug
- uses: docker/login-action@v2
- 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.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v4
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: ./Pterodactyl
file: ./Pterodactyl/GraalVM-arm64/${{ matrix.version }}/Dockerfile
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/pterodactyl-graalvm-oh-jdk17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,18 @@ jobs:
- jdk21
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
with:
buildkitd-flags: --debug
- uses: docker/login-action@v2
- 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.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v4
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: ./Pterodactyl
file: ./Pterodactyl/GraalVM/${{ matrix.version }}/Dockerfile
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/pterodactyl-graalvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,18 @@ jobs:
- jdk21
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
with:
buildkitd-flags: --debug
- uses: docker/login-action@v2
- 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.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v4
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: ./Pterodactyl
file: ./Pterodactyl/GraalVM/${{ matrix.version }}/Dockerfile
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/pterodactyl-nodejs-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,18 @@ jobs:
- NodeJS18-Java11
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
with:
buildkitd-flags: --debug
- uses: docker/login-action@v2
- 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.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v4
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: ./Pterodactyl
file: ./Pterodactyl/NodeJS-Java/${{ matrix.version }}/Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion Pterodactyl/GraalVM-OH/jdk21/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ ENV PATH=/usr/local/graalvm/bin:${PATH}
# Check if the installation was successful
RUN java -version

# Pterodactyl things
# Pterodactyl nice things
RUN useradd -d /home/container -m container

USER container
Expand Down
2 changes: 1 addition & 1 deletion Pterodactyl/GraalVM/jdk20/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ENV PATH=/usr/local/graalvm/bin:${PATH}
# Check if the installation was successful
RUN java -version

# Pterodactyl things
# Pterodactyl nice things
RUN useradd -d /home/container -m container

USER container
Expand Down

0 comments on commit df7ff22

Please sign in to comment.