mirror of
https://github.com/ShaYmez/hblink3.git
synced 2025-12-23 22:14:21 -05:00
Fix Debian 13 compatibility: Update Alpine base, fix shell script, update GitHub Actions
Co-authored-by: ShaYmez <76499782+ShaYmez@users.noreply.github.com>
This commit is contained in:
parent
866d222646
commit
c67c49f57d
11
.github/workflows/image.yml
vendored
11
.github/workflows/image.yml
vendored
@ -9,14 +9,15 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v4
|
||||
- name: install buildx
|
||||
id: buildx
|
||||
uses: crazy-max/ghaction-docker-buildx@v1
|
||||
with:
|
||||
version: latest
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: login to docker hub
|
||||
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
- name: build the image
|
||||
run: |
|
||||
docker buildx build --push \
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
FROM python:alpine3.18
|
||||
FROM python:alpine3.20
|
||||
|
||||
COPY entrypoint /entrypoint
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
version: '2.4'
|
||||
version: '3.8'
|
||||
services:
|
||||
hblink3:
|
||||
container_name: hblink
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
cd /opt/hblink3
|
||||
cd /opt/hblink3 || exit
|
||||
|
||||
if [ "$PARROT_ENABLE" == 1 ]
|
||||
if [ "$PARROT_ENABLE" = 1 ]
|
||||
then
|
||||
echo 'Starting HBlink with Parrot.....'
|
||||
python /opt/hblink3/bridge.py -c hblink.cfg -r rules.py &
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user