Do not use colons, even in double quoted strings..
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
starcalc 2022-08-30 18:05:04 +02:00
parent 8ad938641f
commit 9a4730e2d1

View file

@ -7,7 +7,7 @@ steps:
- name: fetch ip
image: cburki/mosquitto-clients
commands:
- echo "Hostname is: ---${HOSTNAME}--- $HOSTNAME ... \$HOSTNAME ... \${HOSTNAME} +++ $\{HOSTNAME\}"
- echo "Hostname is ---${HOSTNAME}--- $HOSTNAME ... \$HOSTNAME ... \${HOSTNAME} +++ $\{HOSTNAME\}"
- mosquitto_sub -h raum.ctdo.de -t "homie/${HOSTNAME}/\$localip" -C 1 | tr -d '\n'
- mosquitto_sub -h raum.ctdo.de -t "homie/${HOSTNAME}/\$localip" -C 1 | tr -d '\n' >lastknownip
- cat "lastknownip"