Yeni sistem. Docker etabı. Test iki.
All checks were successful
Harita Build ve Deploy / build-and-deploy (push) Successful in 20s
All checks were successful
Harita Build ve Deploy / build-and-deploy (push) Successful in 20s
This commit is contained in:
@@ -1,24 +1,20 @@
|
|||||||
name: Harita Build ve Push
|
name: Harita Build ve Deploy
|
||||||
run-name: ${{ gitea.actor }} Harita Build ve Push 🟢
|
run-name: ${{ gitea.actor }} Harita Yayınlanıyor 🟢
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
env:
|
# DOCKER_HOST tanımı KALDIRILDI!
|
||||||
DOCKER_HOST: unix:///var/run/dind-socket-dir/docker.sock # Socket Fix
|
|
||||||
DOCKER_TLS_CERTDIR: ""
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Kodu Çek (Checkout)
|
- name: Kodu Çek (Checkout)
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
# Docker motorunu (Buildx) hazırlar
|
# Sadece Docker'ı başlatmak kalıyor
|
||||||
- name: Docker Buildx Kurulumu
|
- name: Docker Buildx Kurulumu
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
# Registry'ye giriş yapar (Token Fix)
|
|
||||||
- name: Docker Login (Gitea Registry)
|
- name: Docker Login (Gitea Registry)
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
@@ -26,7 +22,6 @@ jobs:
|
|||||||
username: gitea_admin
|
username: gitea_admin
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
|
||||||
# İmajı Derle ve Gitea Registry'ye Yükle (PUSH)
|
|
||||||
- name: Docker Build ve Push
|
- name: Docker Build ve Push
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
@@ -34,8 +29,4 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: git.konstantiniyye.studio/gitea_admin/dogu:latest
|
tags: git.konstantiniyye.studio/gitea_admin/dogu:latest
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
|
||||||
# -----------------------------------------------------------------
|
|
||||||
# CD ADIMLARI YARINA ERTELENDİ
|
|
||||||
# -----------------------------------------------------------------
|
|
||||||
Reference in New Issue
Block a user