Add curl package for Gitea Alpine Package Registry upload
- Install curl package in Alpine build workflow - Ensure curl is available for package upload step - Prepare for package registry upload with authentication
This commit is contained in:
1
.github/workflows/build-alpine.yml
vendored
1
.github/workflows/build-alpine.yml
vendored
@@ -82,6 +82,7 @@ jobs:
|
||||
- name: Upload to Gitea Alpine Package Registry
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||
run: |
|
||||
apk add --no-cache curl
|
||||
curl --user "eric:df299a6e592a8bd829d018b7816e76d03756408d" \
|
||||
--upload-file alpine_build/cpu-check-${{ env.PKG_VERSION }}-r${{ env.PKG_RELEASE }}.apk \
|
||||
"https://git.ericxliu.me/api/packages/eric/alpine/v3.17/main"
|
Reference in New Issue
Block a user