added docker image to registry
/ deploy (push) Waiting to run

This commit is contained in:
Márcio Fernandes committed 2024-11-02 22:37:57 +00:00
1 parent 2e827cd28b
commit 75b555a0d0
4 files changed
+24 -7

No files matched your search

+23 -3
View File
@@ -1,10 +1,30 @@
name: deploy on:
on: [push] push:
schedule:
- cron: '0 3 * * *'
jobs: jobs:
deploy: deploy:
runs-on: "homesrv01" runs-on: "homesrv01"
steps: 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/marcio.fernandes/mosquitto:latest
- name: Invoke portainer mosquitto service webhook - name: Invoke portainer mosquitto service webhook
run: | run: |
curl -X POST "${{secrets.PORTAINER_WEBHOOK_URL}}" curl -X POST "${{secrets.PORTAINER_WEBHOOK_URL}}"
+1 -4
View File
@@ -1,10 +1,7 @@
version: "3" version: "3"
services: services:
mosquitto: mosquitto:
build: image: git.limbosolutions/marcio.fernandes/mosquitto:latest
context: ./services/mosquitto
pull_policy: build
image: mylimbo/eclipse-mosquitto:latest
ports: ports:
- '1883:1883' - '1883:1883'
- '8883:8883' - '8883:8883'
File renamed without changes.
File renamed without changes.