FIX build args
This commit is contained in:
parent
e32e0f52f6
commit
7b196d93b1
4
.github/workflows/tags.yml
vendored
4
.github/workflows/tags.yml
vendored
@ -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: |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user