diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index c982ea18c..12c28b663 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -59,7 +59,7 @@ jobs: context: . file: ./Dockerfile push: true - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64,linux/arm64,linux/ppc64le build-args: | VERSION=${{ steps.build_info.outputs.version_tag }} labels: ${{ steps.docker_meta.outputs.labels }} @@ -72,7 +72,7 @@ jobs: context: . file: ./Dockerfile push: ${{ github.event_name != 'pull_request' }} - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64,linux/arm64,linux/ppc64le build-args: | VERSION=dev-${{ steps.build_info.outputs.short_sha }} labels: ${{ steps.docker_meta.outputs.labels }} diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index a1e150e7a..445852851 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -18,7 +18,7 @@ jobs: os: [ubuntu-24.04] go: ["1.23.7", "1.24.1"] goos: [linux] - goarch: [amd64, arm64] + goarch: [amd64, arm64, ppc64le] permissions: contents: read steps: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4101caa83..04efd81ef 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -30,6 +30,8 @@ jobs: chmod 755 dist/wings_linux_amd64 GOARCH=arm64 go build -o dist/wings_linux_arm64 -v -trimpath -ldflags="-s -w -X github.com/pterodactyl/wings/system.Version=${REF:11}" github.com/pterodactyl/wings chmod 755 dist/wings_linux_arm64 + GOARCH=ppc64le go build -o dist/wings_linux_ppc64le -v -trimpath -ldflags="-s -w -X github.com/pterodactyl/wings/system.Version=${REF:11}" github.com/pterodactyl/wings + chmod 755 dist/wings_linux_ppc64le - name: Extract changelog env: @@ -41,8 +43,9 @@ jobs: run: | SUM=`cd dist && sha256sum wings_linux_amd64` SUM2=`cd dist && sha256sum wings_linux_arm64` - echo -e "\n#### SHA256 Checksum\n\`\`\`\n$SUM\n$SUM2\n\`\`\`\n" >> ./RELEASE_CHANGELOG - echo -e "$SUM\n$SUM2" > checksums.txt + SUM3=$(cd dist && sha256sum wings_linux_ppc64le) + echo -e "\n#### SHA256 Checksum\n\`\`\`\n$SUM\n$SUM2\n$SUM3\n\`\`\`\n" >> ./RELEASE_CHANGELOG + echo -e "$SUM\n$SUM2\n$SUM3" > checksums.txt - name: Create release branch env: diff --git a/Makefile b/Makefile index b3d5fe531..68e33a2f5 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ GIT_HEAD = $(shell git rev-parse HEAD | head -c8) build: GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -gcflags "all=-trimpath=$(pwd)" -o build/wings_linux_amd64 -v wings.go GOOS=linux GOARCH=arm64 go build -ldflags="-s -w" -gcflags "all=-trimpath=$(pwd)" -o build/wings_linux_arm64 -v wings.go + GOOS=linux GOARCH=ppc64le go build -ldflags="-s -w" -gcflags "all=-trimpath=$(pwd)" -o build/wings_linux_ppc64le -v wings.go debug: go build -ldflags="-X github.com/pterodactyl/wings/system.Version=$(GIT_HEAD)"