From af7c252c4e82bddfb69527f5b583e4700c9908da Mon Sep 17 00:00:00 2001 From: maximo tejeda Date: Thu, 14 Nov 2024 13:31:11 -0400 Subject: [PATCH] FIx secret to not be shown --- .github/workflows/tags.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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"