From b61e4965531b9e112de5711cf36eec7a4165b4ca Mon Sep 17 00:00:00 2001 From: db123-test Date: Mon, 4 May 2026 10:36:11 +0330 Subject: [PATCH] ci: fiddled with build platforms --- .github/workflows/ci-cd.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 4cc49c3..ec2d832 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -37,16 +37,15 @@ jobs: run: git clone "${{ secrets.G_CLONE_URL }}" . - name: Build for Linux amd64 - run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 /usr/local/go/bin/go build -o auth-gate-linux-amd64 . + run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 /usr/local/go/bin/go build -o auth-proxy-linux-amd64 . - name: Build for Windows amd64 - run: CGO_ENABLED=0 GOOS=windows GOARCH=amd64 /usr/local/go/bin/go build -o auth-gate-windows-amd64.exe + run: CGO_ENABLED=0 GOOS=windows GOARCH=amd64 /usr/local/go/bin/go build -o auth-proxy-windows-amd64.exe - name: Package binaries run: | - tar czf auth-gate-linux-amd64.tar.gz auth-gate-linux-amd64 - tar czf auth-gate-linux-arm64.tar.gz auth-gate-linux-arm64 - tar czf auth-gate-windows-amd64.tar.gz auth-gate-windows-amd64.exe + tar czf auth-proxy-linux-amd64.tar.gz auth-proxy-linux-amd64 + tar czf auth-proxy-windows-amd64.tar.gz auth-proxy-windows-amd64.exe docker: name: Build & push Docker image @@ -66,7 +65,7 @@ jobs: - name: Build & push run: | docker buildx build \ - --platform linux/amd64,linux/arm64 \ + --platform linux/amd64 \ --tag "git.yejayekhoob.com/db123/auth-gate:${{ github.sha }}" \ --tag "git.yejayekhoob.com/db123/auth-gate:latest" \ --push \