common workflow, take 1

This commit is contained in:
2025-10-25 00:45:21 -05:00
commit 9d80ec6dfb

View File

@@ -0,0 +1,21 @@
name: Publish package
jobs:
build_app_image:
name: Build app image
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build package
run: docker run --rm -e REPO=. -v `pwd`:/home/user/pkg
- name: Publish package
run: |
curl --user ${{ secrets.USERNAME }}:${{ secrets.TOKEN }} \
--upload-file ./*.tar.zst \
"${{ GITHUB_SERVER_URL }}/api/packages/packages_test/arch/microverse"