From e7124212004c039a67206d6d542f8677573eaac3 Mon Sep 17 00:00:00 2001 From: maximo tejeda Date: Fri, 15 Nov 2024 12:44:08 -0400 Subject: [PATCH] ADD ldflags fix typo --- .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 307a117..0aa369e 100644 --- a/.github/workflows/tags.yml +++ b/.github/workflows/tags.yml @@ -27,11 +27,11 @@ jobs: - name: Build amd64 run: | - 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/... + shortsha=${{ steps.set-sha.outputs.shortsha }} GOOS=linux GOARCH=amd64 go build -o bin/ddns_amd64_$TAG_VERSION -ldflags "-X main.Shortsha=$shortsha -X main.Version=$TAG_VERSION -X main.Aarch=amd64" ./cmd/... - name: Build arm64 run: | - 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/... + shortsha=${{ steps.set-sha.outputs.shortsha }} GOOS=linux GOARCH=arm64 go build -o bin/ddns_arm64_$TAG_VERSION -ldflags "-X main.Shortsha=$shortsha -X main.Version=$TAG_VERSION -X main.Aarch=arm64" ./cmd/... - name: push generic registry amd64 run: |