diff --git a/.github/workflows/tags.yml b/.github/workflows/tags.yml index d9ecdc2..11b998b 100644 --- a/.github/workflows/tags.yml +++ b/.github/workflows/tags.yml @@ -33,13 +33,13 @@ jobs: - name: push generic registry amd64 run: | - curl --user $USERNAME:$TOKEN --upload-file bin/ddns_amd64_$TAG_VERSION http://10.0.0.171/api/packages/$USERNAME/generic/ddns/amd64_$TAG_VERSION/ddns + curl --user $USERNAME:${{ secrets.TOKEN }} --upload-file bin/ddns_amd64_$TAG_VERSION http://10.0.0.171/api/packages/$USERNAME/generic/ddns/amd64_$TAG_VERSION/ddns - name: push generic registry arm64 run: | - curl --user $USERNAME:$TOKEN --upload-file bin/ddns_arm64_$TAG_VERSION http://10.0.0.171/api/packages/$USERNAME/generic/ddns/arm64_$TAG_VERSION/ddns + curl --user $USERNAME:${{ secrets.TOKEN }} --upload-file bin/ddns_arm64_$TAG_VERSION http://10.0.0.171/api/packages/$USERNAME/generic/ddns/arm64_$TAG_VERSION/ddns - - name: test env path + - name: test env download path run: | - echo "curl --user $USERNAME:pwd --output ddns http://10.0.0.171/api/packages/${USERNAME}/generic/ddns/amd64_$TAG_VERSION/ddns" + echo "curl -OJ http://gitea/api/packages/$USERNAME/generic/ddns/arm64_$TAG_VERSION/ddns"