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:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- run: chmod 555 homeassistant-supervised/DEBIAN/p*
|
- name: Build Debian Package in Docker
|
||||||
- run: dpkg-deb --build --root-owner-group homeassistant-supervised
|
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
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
|
Loading…
Reference in a new issue