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' 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": [\