Skip to content

Commit

Permalink
ci: Use eclipse-mosquitto image instead of custom (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpgrayson authored Nov 22, 2023
1 parent 345ef16 commit 8dd684d
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,29 @@ jobs:
container:
image: ${{ matrix.tag }}
services:
# need to update docker image if you update the certificates
# run `build-docker-ci-image.sh`
mosquitto:
image: adamfowlerphoto/mqttnio-mosquitto
image: eclipse-mosquitto
options: --name mosquitto
ports:
- 1883:1883
- 1884:1884
- 8883:8883
- 8080:8080
- 8081:8081
volumes:
- ${{ github.workspace }}/mosquitto/config:/mosquitto/config
- ${{ github.workspace }}/mosquitto/certs:/mosquitto/certs

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Restart Mosquitto
# The mosquitto service container is started *before* mqtt-nio is checked
# out. Restarting the container after the checkout step is needed for the
# container to see volumes populated from the checked out workspace.
uses: docker://docker
with:
args: docker restart mosquitto
- name: Test
env:
MOSQUITTO_SERVER: mosquitto
Expand Down

0 comments on commit 8dd684d

Please sign in to comment.