From 7b196d93b18076447a3f8f45326843ec88a1e55c Mon Sep 17 00:00:00 2001 From: maximo tejeda Date: Fri, 15 Nov 2024 12:32:33 -0400 Subject: [PATCH] FIX build args --- .github/workflows/tags.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tags.yml b/.github/workflows/tags.yml index 3ee02f4..307a117 100644 --- a/.github/workflows/tags.yml +++ b/.github/workflows/tags.yml @@ -27,11 +27,11 @@ jobs: - name: Build amd64 run: | - shortsha=`git rev-parse --short HEAD` GOOS=linux GOARCH=amd64 go build -o bin/ddns_amd64_$TAG_VERSION "-X 'main.Shortsha=${{ steps.set-sha.outputs.shortsha }}' -X 'main.Version=$TAG_VERSION' -X 'main.Aarch=amd64'" ./cmd/... + shortsha=${{ steps.set-sha.outputs.shortsha }} GOOS=linux GOARCH=amd64 go build -o bin/ddns_amd64_$TAG_VERSION "-X main.Shortsha=$shortsha -X main.Version=$TAG_VERSION -X main.Aarch=amd64" ./cmd/... - name: Build arm64 run: | - GOOS=linux GOARCH=arm64 go build -o bin/ddns_arm64_$TAG_VERSION "-X 'main.Shortsha=${{ steps.set-sha.outputs.shortsha }}' -X 'main.Version=$TAG_VERSION' -X 'main.Aarch=arm64'" ./cmd/... + shortsha=${{ steps.set-sha.outputs.shortsha }} GOOS=linux GOARCH=arm64 go build -o bin/ddns_arm64_$TAG_VERSION "-X main.Shortsha=$shortsha -X main.Version=$TAG_VERSION -X main.Aarch=arm64" ./cmd/... - name: push generic registry amd64 run: |