Build Debian Package in Docker
This commit is contained in:
parent
996385fb57
commit
b7926ff0df
1 changed files with 6 additions and 2 deletions
8
.github/workflows/build-deb.yml
vendored
8
.github/workflows/build-deb.yml
vendored
|
@ -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/')
|
||||
|
|
Loading…
Reference in a new issue