Yeniden düzenleme.
Some checks failed
Harita Build ve Deploy / build-and-deploy (push) Failing after 7s
Some checks failed
Harita Build ve Deploy / build-and-deploy (push) Failing after 7s
This commit is contained in:
@@ -5,17 +5,23 @@ on: [push]
|
|||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# BURADAKİ FAZLALIKLARI SİLDİK, ARTIK BAĞLANTI KOPMAYACAK
|
|
||||||
|
# --- İŞTE EKSİK OLAN PARÇA BUYDU ---
|
||||||
|
# Tüm adımlara "Docker'ı burada bulabilirsin" diyoruz.
|
||||||
|
env:
|
||||||
|
DOCKER_HOST: tcp://localhost:2375
|
||||||
|
DOCKER_TLS_CERTDIR: ""
|
||||||
|
# -----------------------------------
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Kodu Çek (Checkout)
|
- name: Kodu Çek (Checkout)
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
# --- YENİ EKLEME: Docker Build Motorunu Hazırla ---
|
# Buildx artık yukarıdaki ENV sayesinde Docker'ı bulacak
|
||||||
- name: Docker Buildx Kurulumu
|
- name: Docker Buildx Kurulumu
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
with:
|
with:
|
||||||
driver: docker # Dind kullandığımız için 'docker' sürücüsünü seçiyoruz
|
driver: docker # Dind için en güvenlisi budur
|
||||||
|
|
||||||
- name: Docker Login (Gitea Registry)
|
- name: Docker Login (Gitea Registry)
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
@@ -29,8 +35,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
|
# Kullanıcı adını ve repo adını senin yapına göre sabitledim
|
||||||
tags: git.konstantiniyye.studio/gitea_admin/dogu:latest
|
tags: git.konstantiniyye.studio/gitea_admin/dogu:latest
|
||||||
# Cache kullanarak hızı artırıyoruz
|
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user