From ef3a855d3a8f69f173485d84ad9d26b6e2b0a004 Mon Sep 17 00:00:00 2001 From: ES-Alexander Date: Fri, 8 May 2026 03:19:42 +0800 Subject: [PATCH 1/2] workflows: add auto-deployment pipeline --- .github/workflows/deploy.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..7198f8f --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,22 @@ +name: Deploy BlueOS Extension Image + +on: + push: + # Run manually + workflow_dispatch: + # NOTE: caches may be removed if not run weekly + # -> may be worth scheduling for every 6 days + +jobs: + deploy-docker-image: + # set the agent to run on + runs-on: ubuntu-latest + steps: + - name: Deploy BlueOS Extension + uses: BlueOS-community/Deploy-BlueOS-Extension@v1 + # specify the desired variables + with: + docker-username: ${{ secrets.DOCKER_USERNAME }} + docker-password: ${{ secrets.DOCKER_PASSWORD }} + github-token: ${{ secrets.GITHUB_TOKEN }} + image-name: 'node-red' From a19ddd9f06304fa83612fbcfdcd9cc29c52e8c00 Mon Sep 17 00:00:00 2001 From: ES-Alexander Date: Fri, 8 May 2026 03:24:31 +0800 Subject: [PATCH 2/2] Dockerfile: update network bridge to conventional domain Follow the BlueOS Extensions documented recommendations, instead of overloading blueos.local and hoping users haven't changed their own hostname and just use blueos.local by default. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c9e741b..3bbb89e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,14 +15,14 @@ COPY register_service /service/register_service COPY start.sh /start.sh COPY entrypoint.sh /entrypoint.sh -LABEL version="1.1.0" +LABEL version="1.2.0" LABEL permissions='{\ "ExposedPorts": {\ "80/tcp": {}\ },\ "HostConfig": {\ "ExtraHosts": [\ - "blueos.local:host-gateway"\ + "host.docker.internal:host-gateway"\ ],\ "Privileged": true,\ "Binds": [\