This commit is contained in:
Marco Realacci 2025-03-15 03:01:53 +01:00
parent 0a7a3f70eb
commit ac5e859977
6 changed files with 2 additions and 25 deletions

View file

@ -62,13 +62,13 @@ jobs:
# The -s dir option tells FPM the source is a directory.
# The -t deb option builds a deb package.
# -n is the package name and -v the version.
fpm -s dir -t deb -n magicfw -v $VERSION -C package .
fpm -s dir -t deb -n magicfw-docker -v $VERSION -C package .
- name: Upload to Forgejo Debian Registry
env:
FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
run: |
PACKAGE_NAME="magicfw_${VERSION}_amd64.deb" # Update version accordingly
PACKAGE_NAME="magicfw-docker_${VERSION}_amd64.deb" # Update version accordingly
curl --user "your_username:$FORGEJO_TOKEN" \
--upload-file ./${PACKAGE_NAME} \