From 18c0128fac6cc623975e6e7b5b04b02b8fc3ef35 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Wed, 2 Sep 2026 11:47:48 +1000 Subject: [PATCH] build: Refactor secret/variable references --- .gitea/workflows/actions.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml index 40a9b9a..5aa0f1d 100644 --- a/.gitea/workflows/actions.yaml +++ b/.gitea/workflows/actions.yaml @@ -33,9 +33,9 @@ jobs: - name: Upload linux binaries to package registry run: | curl \ - --header "Authorization: token $GIT_APIKEY" \ + --header "Authorization: token ${{ secrets.GIT_APIKEY }}" \ --upload-file bin/skopeo \ - https://code.spamasaurus.com/api/packages/$GIT_USERNAME/generic/skopeo/$SKOPEO_VERSION/skopeo_linux_amd64 + https://code.spamasaurus.com/api/packages/${{ secrets.GIT_USERNAME }}/generic/skopeo/${{ env.SKOPEO_VERSION }}/skopeo_linux_amd64 build_windows: name: Build binary (Windows) @@ -64,6 +64,6 @@ jobs: - name: Upload Windows binaries to package registry run: | curl \ - --header "Authorization: token $GIT_APIKEY" \ + --header "Authorization: token ${{ secrets.GIT_APIKEY }}" \ --upload-file bin/skopeo.windows.amd64.exe \ - https://code.spamasaurus.com/api/packages/$GIT_USERNAME/generic/skopeo/$SKOPEO_VERSION/skopeo_windows_amd64.exe + https://code.spamasaurus.com/api/packages/${{ secrets.GIT_USERNAME }}/generic/skopeo/${{ env.SKOPEO_VERSION }}/skopeo_windows_amd64.exe