mosquitto start using config section, removed custom docker image
All checks were successful
/ deploy-to-homesrv01 (push) Successful in 4m0s

This commit is contained in:
2025-01-19 03:07:48 +00:00
parent 799c4b9f67
commit 365f71e604
6 changed files with 10 additions and 85 deletions

View File

@@ -1,27 +0,0 @@
on:
push:
schedule:
- cron: '0 3 * * *'
jobs:
deploy-docker-image:
runs-on: "ubuntu-latest"
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Log in to git.limbosolutions.com docker registry
uses: docker/login-action@v3
with:
registry: git.limbosolutions.com
username: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_USERNAME }}
password: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_PASSWORD }}
- name: Build and push Docker Image
id: push
uses: docker/build-push-action@v6
with:
context: ${{gitea.workspace}}/docker
file: ${{gitea.workspace}}/docker/Dockerfile
push: true
tags: git.limbosolutions.com/marcio.fernandes/mosquitto:latest

View File

@@ -9,12 +9,5 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: setup docker compose .env
run: |
cat <<EOF >${{ github.workspace }}/.env
LISTENER_PORT=1883
ALLOW_ANONYMOUS=true
EOF
- name: docker compose up
run: docker compose up -d --pull always