build: Refactor secret/variable references
This commit is contained in:
@@ -33,9 +33,9 @@ jobs:
|
|||||||
- name: Upload linux binaries to package registry
|
- name: Upload linux binaries to package registry
|
||||||
run: |
|
run: |
|
||||||
curl \
|
curl \
|
||||||
--header "Authorization: token $GIT_APIKEY" \
|
--header "Authorization: token ${{ secrets.GIT_APIKEY }}" \
|
||||||
--upload-file bin/skopeo \
|
--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:
|
build_windows:
|
||||||
name: Build binary (Windows)
|
name: Build binary (Windows)
|
||||||
@@ -64,6 +64,6 @@ jobs:
|
|||||||
- name: Upload Windows binaries to package registry
|
- name: Upload Windows binaries to package registry
|
||||||
run: |
|
run: |
|
||||||
curl \
|
curl \
|
||||||
--header "Authorization: token $GIT_APIKEY" \
|
--header "Authorization: token ${{ secrets.GIT_APIKEY }}" \
|
||||||
--upload-file bin/skopeo.windows.amd64.exe \
|
--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
|
||||||
|
|||||||
Reference in New Issue
Block a user