Build Debian Package in Docker

This commit is contained in:
ikifar2012 2022-12-11 01:24:31 +00:00
parent 996385fb57
commit b7926ff0df

View file

@ -12,8 +12,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- run: chmod 555 homeassistant-supervised/DEBIAN/p*
- run: dpkg-deb --build --root-owner-group homeassistant-supervised
- name: Build Debian Package in Docker
run: |
docker run --rm -v $(pwd):/tmp debian:bullseye-slim bash -c \
"cd /tmp \
&& chmod 555 homeassistant-supervised/DEBIAN/p* \
&& dpkg-deb --build --root-owner-group homeassistant-supervised"
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')