This commit is contained in:
parent
66bcaf9491
commit
a576040e0c
8
.github/workflows/tags.yml
vendored
8
.github/workflows/tags.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
TOKEN: ${{ secrets.TOKEN }}
|
||||
TAG_VERSION: ${{ github.ref_name }}
|
||||
run: |
|
||||
GOOS=linux GOARCH=amd64 go build -o ./bin/ddns_amd64_$TAG_VERSION ./cmd/...
|
||||
GOOS=linux GOARCH=amd64 go build -o bin/ddns_amd64_$TAG_VERSION ./cmd/...
|
||||
|
||||
- name: Build arm64
|
||||
env:
|
||||
@ -29,7 +29,7 @@ jobs:
|
||||
TOKEN: ${{ secrets.TOKEN }}
|
||||
TAG_VERSION: ${{ github.ref_name }}
|
||||
run: |
|
||||
GOOS=linux GOARCH=arm64 go build -o ./bin/ddns_arm64_$TAG_VERSION ./cmd/...
|
||||
GOOS=linux GOARCH=arm64 go build -o bin/ddns_arm64_$TAG_VERSION ./cmd/...
|
||||
|
||||
- name: push generic registry amd64
|
||||
env:
|
||||
@ -37,7 +37,7 @@ jobs:
|
||||
TOKEN: ${{ secrets.TOKEN }}
|
||||
TAG_VERSION: ${{ github.ref_name }}
|
||||
run: |
|
||||
curl --user $USERNAME:$TOKEN --upload-file ./bin/ddnser_amd64_$TAG_VERSION http://10.0.0.171/api/packages/$USERNAME/generic/ddns/amd64_$TAG_VERSION/ddns
|
||||
curl --user $USERNAME:$TOKEN --upload-file bin/ddnser_amd64_$TAG_VERSION http://10.0.0.171/api/packages/$USERNAME/generic/ddns/amd64_$TAG_VERSION/ddns
|
||||
|
||||
- name: push generic registry amd64
|
||||
env:
|
||||
@ -45,6 +45,6 @@ jobs:
|
||||
TOKEN: ${{ secrets.TOKEN }}
|
||||
TAG_VERSION: ${{ github.ref_name }}
|
||||
run: |
|
||||
curl --user $USERNAME:$TOKEN --upload-file ./bin/ddnser_arm64_$TAG_VERSION http://10.0.0.171/api/packages/$USERNAME/generic/ddns/arm64_$TAG_VERSION/ddns
|
||||
curl --user $USERNAME:$TOKEN --upload-file bin/ddnser_arm64_$TAG_VERSION http://10.0.0.171/api/packages/$USERNAME/generic/ddns/arm64_$TAG_VERSION/ddns
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user