File tree 3 files changed +16
-17
lines changed
3 files changed +16
-17
lines changed Original file line number Diff line number Diff line change 4
4
- " *"
5
5
6
6
jobs :
7
- build :
8
- name : Build, push
7
+ docker-buildx :
9
8
runs-on : ubuntu-latest
10
9
steps :
11
10
- name : Checkout main
12
11
uses : actions/checkout@main
13
12
14
- - name : Build container
15
- run : docker build --tag gwhittington/meshtastic-bridge:latest .
16
-
17
- - name : Log in to Container Registry with short-lived credentials
18
- run : docker login --username=gwhittington --password "${{secrets.DOCKER_HUB}}"
19
-
20
- - name : Push image to Container Registry
21
- run : docker push gwhittington/meshtastic-bridge:latest
22
-
23
- - name : Logout from Container Registry
24
- run : docker logout
13
+ - name : Build and publish image
14
+ uses : zmingxie/docker_buildx@master
15
+ with :
16
+ publish : true
17
+ imageName : gwhittington/meshtastic-bridge
18
+ dockerHubUser : gwhittington
19
+ dockerHubPassword : ${{secrets.DOCKER_HUB}}
Original file line number Diff line number Diff line change @@ -7,7 +7,11 @@ WORKDIR /code
7
7
# copy the dependencies file to the working directory
8
8
COPY requirements.txt .
9
9
10
+ RUN apt-get update && apt-get install -y cargo
11
+
10
12
# install dependencies
13
+ RUN pip install -U pip
14
+ RUN pip install setuptools_rust wheel
11
15
RUN pip install -r requirements.txt
12
16
13
17
# copy the content of the local src directory to the working directory
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ mqtt_servers:
66
66
mqtt-to-radio:
67
67
- decrypt_filter:
68
68
key: '/home/user/keys/key.pem'
69
- - send_plugin :
69
+ - radio_message_plugin :
70
70
device: remote
71
71
pipelines:
72
72
radio-to-mqtt:
@@ -110,7 +110,7 @@ The following plugins can be used in the `pipelines` section of `config.yaml`:
110
110
| ` mqtt_plugin ` | Send packets to a MQTT server |
111
111
| ` encrypt_filter ` | Encrypt a packet for a desired MQTT recipient |
112
112
| ` decrypt_filter ` | Decrypt a packet originating from MQTT |
113
- | ` send_plugin ` | Send a packet to a specified ` device ` |
113
+ | ` radio_message_plugin ` | Send a packet to a specified ` device ` |
114
114
115
115
### debugger - Output the contents of a packet
116
116
@@ -153,8 +153,8 @@ message_filter:
153
153
- ** log_level** ` debug ` or ` info ` . Default ` info `
154
154
- ** max_distance_km** Filter packets more than a certain distance
155
155
- ** comparison** ` within ` or ` outside ` . Default ` within `
156
- - ** compare_latitude** Set the latitude to compare against
157
- - ** compare_longitude** Set the longitude to compare against
156
+ - ** compare_latitude** latitude to compare against
157
+ - ** compare_longitude** longitude to compare against
158
158
- ** latitude** Set the latitude
159
159
- ** longitude** Set the longitude
160
160
You can’t perform that action at this time.
0 commit comments