Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -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'
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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": [\
Expand Down