forked from Namoshek/mosquitto-github-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
43 lines (40 loc) · 1.31 KB
/
action.yml
File metadata and controls
43 lines (40 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: 'Mosquitto MQTT Broker in GitHub Actions'
description: 'Start a Mosquitto message broker as Docker container'
branding:
icon: 'message-square'
color: 'red'
inputs:
version:
description: 'Mosquitto version to use'
required: false
default: 'latest'
ports:
description: 'Port mappings in a [host]:[container] format, delimited by spaces (example: "1883:1883 8883:8883")'
required: false
default: '1883:1883'
certificates:
description: 'Absolute path to a directory containing certificate files which can be referenced in the config (the folder is mounted under `/mosquitto-certs`)'
required: false
default: ''
config:
description: 'Absolute path to the mosquitto.conf configuration file to use'
required: false
default: ''
password-file:
description: 'Absolute path to the mosquitto.passwd password file to use'
required: false
default: ''
container-name:
description: 'The name of the spawned Docker container (can be used as hostname when accessed from other containers)'
required: false
default: 'mosquitto'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.version }}
- ${{ inputs.ports }}
- ${{ inputs.certificates }}
- ${{ inputs.config }}
- ${{ inputs.password-file }}
- ${{ inputs.container-name }}