CI: Add package registry
All checks were successful
PostmarketOS build / build (push) Successful in 1m32s
All checks were successful
PostmarketOS build / build (push) Successful in 1m32s
Signed-off-by: Vasiliy Doylov <nekocwd@mainlining.org>
This commit is contained in:
parent
6a272adcad
commit
a26fca194d
1 changed files with 8 additions and 0 deletions
|
@ -22,5 +22,13 @@ jobs:
|
|||
with:
|
||||
name: build-files
|
||||
path: /data/work/packages/edge/aarch64/*.apk
|
||||
- name: Upload to package registry
|
||||
run: >
|
||||
for apk in /data/work/packages/edge/aarch64/*.apk ; do
|
||||
echo -- Uploading $apk
|
||||
curl -H "Authorization: token ${{secrets.PACKAGE_TOKEN}}" \
|
||||
--upload-file $apk \
|
||||
${{github.server_url}}/api/packages/${{github.repository_owner}}/alpine/edge/nightly
|
||||
done
|
||||
- name: Clean up
|
||||
run: pmbootstrap -y zap -p
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue