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:
copilot-swe-agent[bot] 2025-12-13 02:03:52 +00:00
parent 866d222646
commit c67c49f57d
4 changed files with 10 additions and 9 deletions

View File

@ -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 \

View File

@ -1,4 +1,4 @@
FROM python:alpine3.18
FROM python:alpine3.20
COPY entrypoint /entrypoint

View File

@ -1,4 +1,4 @@
version: '2.4'
version: '3.8'
services:
hblink3:
container_name: hblink

View File

@ -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 &