mayb this
All checks were successful
Build and Push Docker Image / build (push) Successful in 44s

This commit is contained in:
2026-04-23 01:13:46 +02:00
parent e54236f361
commit cd6a4d0edc

View File

@@ -23,10 +23,10 @@ jobs:
- name: Compile binary
run: make
- name: Upload firmware artifact
uses: actions/upload-artifact@v2
with:
name: firmware-binary
path: |
build/*.bin
build/*.elf
- name: Upload firmware to Gitea Generic Registry
run: |
VERSION="${GITEA_SHA:-$GITHUB_SHA}"
curl --user "${{ gitea.actor }}:${{ vars.OCI_ACCESS_TOKEN }}" \
--upload-file build/fan_controller.bin \
"https://git.drath.cc/api/packages/${{ gitea.actor }}/generic/firmware/${VERSION}/fan_controller.bin"