build: Refactor secret/variable references
build-binaries / Build binary (Linux) (push) Successful in 49s
build-binaries / Build binary (Windows) (push) Successful in 1m32s

This commit is contained in:
2026-09-02 11:47:48 +10:00
parent 7034ed9fce
commit 18c0128fac
+4 -4
View File
@@ -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