diff --git a/.github/workflows/tags.yml b/.github/workflows/tags.yml index 8235059..6962035 100644 --- a/.github/workflows/tags.yml +++ b/.github/workflows/tags.yml @@ -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