Files
dogu/.gitea/workflows/deploy.yaml
gitmuhammedalbayrak 9f00578e85
Some checks failed
Harita Build ve Push / build-and-deploy (push) Failing after 7s
Yeni sistem. Docker etabı.
2025-11-20 02:57:54 +03:00

41 lines
1.2 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: Harita Build ve Push
run-name: ${{ gitea.actor }} Harita Build ve Push 🟢
on: [push]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
env:
DOCKER_HOST: unix:///var/run/dind-socket-dir/docker.sock # Socket Fix
DOCKER_TLS_CERTDIR: ""
steps:
- name: Kodu Çek (Checkout)
uses: actions/checkout@v3
# Docker motorunu (Buildx) hazırlar
- name: Docker Buildx Kurulumu
uses: docker/setup-buildx-action@v3
# Registry'ye giriş yapar (Token Fix)
- name: Docker Login (Gitea Registry)
uses: docker/login-action@v3
with:
registry: git.konstantiniyye.studio
username: gitea_admin
password: ${{ secrets.REGISTRY_TOKEN }}
# İmajı Derle ve Gitea Registry'ye Yükle (PUSH)
- name: Docker Build ve Push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: git.konstantiniyye.studio/gitea_admin/dogu:latest
cache-from: type=gha
cache-to: type=gha,mode=max
# -----------------------------------------------------------------
# CD ADIMLARI YARINA ERTELENDİ
# -----------------------------------------------------------------