From 796e57c890201bdc2c0a1c09741c9e423f748112 Mon Sep 17 00:00:00 2001 From: JohnB17 <63297273+JohnB17@users.noreply.github.com> Date: Thu, 7 Oct 2021 15:24:32 -0400 Subject: [PATCH] add automated building for amd64 --- .../workflows/release-ptero-nginx_amd64.yml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/release-ptero-nginx_amd64.yml diff --git a/.github/workflows/release-ptero-nginx_amd64.yml b/.github/workflows/release-ptero-nginx_amd64.yml new file mode 100644 index 0000000..0015099 --- /dev/null +++ b/.github/workflows/release-ptero-nginx_amd64.yml @@ -0,0 +1,30 @@ +name: Pterodactyl-Ubuntu + +on: + workflow_dispatch: + +jobs: + push: + name: "nginx-ptero:latest" + runs-on: ubuntu-latest + strategy: + fail-fast: false + steps: + - uses: actions/checkout@v2 + - uses: docker/setup-buildx-action@v1 + with: + version: "v0.5.1" + buildkitd-flags: --debug + - uses: docker/login-action@v1 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} + - uses: docker/build-push-action@v2 + with: + context: ./ + file: ./Dockerfile + platforms: linux/amd64 + push: true + tags: | + ghcr.io/finnie2006/nginx-ptero:latest