Compare commits
No commits in common. "d8f7d9dc851371201009b9174d68165e429c3d40" and "adea6be4f78b73d47166c207838020d3a058da37" have entirely different histories.
d8f7d9dc85
...
adea6be4f7
28
.drone.yml
28
.drone.yml
|
@ -1,23 +1,35 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: plugins/docker:linux-amd64
|
||||
pull: always
|
||||
settings:
|
||||
daemon_off: false
|
||||
dry_run: true
|
||||
repo: docker.asperti.com/paspo/mqtt
|
||||
tags:
|
||||
- latest
|
||||
when:
|
||||
event:
|
||||
exclude:
|
||||
- tag
|
||||
|
||||
- name: build_and_publish
|
||||
image: plugins/docker:linux-amd64
|
||||
pull: always
|
||||
settings:
|
||||
auto_tag: true
|
||||
daemon_off: false
|
||||
password:
|
||||
from_secret: docker_password
|
||||
registry: docker.asperti.com
|
||||
repo: docker.asperti.com/paspo/mqtt
|
||||
tags:
|
||||
- latest
|
||||
- ${DRONE_TAG}
|
||||
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}
|
||||
force_tag: true
|
||||
username:
|
||||
from_secret: docker_username
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
when:
|
||||
event:
|
||||
- tag
|
|
@ -1,5 +1,4 @@
|
|||
FROM alpine:3.14
|
||||
RUN \
|
||||
apk -U upgrade && apk add mosquitto mosquitto-clients openssl && \
|
||||
echo "log_dest stdout" >/etc/mosquitto/mosquitto.conf
|
||||
FROM alpine:3.12
|
||||
RUN apk -U upgrade && apk add mosquitto mosquitto-clients openssl
|
||||
EXPOSE 8883
|
||||
ENTRYPOINT ["mosquitto", "-c", "/etc/mosquitto/mosquitto.conf"]
|
||||
|
|
Loading…
Reference in New Issue