release?
Some checks failed
Build and Push Docker Image / build (push) Failing after 49s

This commit is contained in:
2026-04-23 01:21:38 +02:00
parent cd6a4d0edc
commit 1431647465

View File

@@ -23,10 +23,14 @@ jobs:
- name: Compile binary
run: make
- name: Upload firmware to Gitea Generic Registry
run: |
VERSION="${GITEA_SHA:-$GITHUB_SHA}"
- name: Generate checksum
run: sha256sum build/fan_controller.bin > build/fan_controller.bin.sha256
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"
- name: Create Release and upload assets
uses: softprops/action-gh-release@v1
with:
files: |
build/firmware.bin
build/firmware.bin.sha256
env:
GITHUB_TOKEN: ${{ vars.OCI_ACCESS_TOKEN }}