feat: SuiteCRM Docker + compose + CI/CD
Some checks failed
Docker Build & Push / build-and-push (push) Has been cancelled

This commit is contained in:
root
2026-05-24 14:12:23 +02:00
parent 21ea4ea9be
commit 30905b15d4
8 changed files with 442 additions and 2 deletions

View File

@@ -0,0 +1,38 @@
name: Docker Build & Push
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-and-push:
runs-on: ubuntu-latest
container:
image: docker:27-dind
options: --privileged
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: git.kgessner.de
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and Push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: |
git.kgessner.de/luiicode/sugar-crm:latest
git.kgessner.de/luiicode/sugar-crm:7.15.1
cache-from: type=gha
cache-to: type=gha,mode=max