Files
mosquitto/.gitea/workflows/ deploy-docker-image.yml
Márcio Fernandes 6d594242ba
All checks were successful
/ deploy-docker-image (push) Successful in 8s
/ deploy-to-homesrv01 (push) Successful in 11s
git actions refactoring
2024-12-29 22:26:44 +00:00

28 lines
757 B
YAML

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