fixe ci pipleine
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/manual/woodpecker Pipeline failed
CD - Build & Deploy / deploy-staging (push) Has been cancelled
CD - Build & Deploy / build-and-push (push) Has been cancelled
CD - Build & Deploy / package-helm (push) Has been cancelled
CD - Build & Deploy / deploy-production (push) Has been cancelled
CD - Build & Deploy / release (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / security (push) Has been cancelled
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/manual/woodpecker Pipeline failed
CD - Build & Deploy / deploy-staging (push) Has been cancelled
CD - Build & Deploy / build-and-push (push) Has been cancelled
CD - Build & Deploy / package-helm (push) Has been cancelled
CD - Build & Deploy / deploy-production (push) Has been cancelled
CD - Build & Deploy / release (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / security (push) Has been cancelled
This commit is contained in:
@@ -1,10 +1,9 @@
|
|||||||
# Peikarband Platform - Woodpecker CI/CD Pipeline
|
# Peikarband Platform - Woodpecker CI/CD Pipeline
|
||||||
variables:
|
variables:
|
||||||
- &harbor_registry "harbor.peikarband.ir"
|
- &harbor_registry "hub.peikarband.ir"
|
||||||
- &image_name "peikarband/landing"
|
- &image_name "peikarband/landing"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# مرحله ساخت با Kaniko (بدون نیاز به Privileged و تنظیمات Trusted)
|
|
||||||
build-and-push:
|
build-and-push:
|
||||||
image: plugins/kaniko
|
image: plugins/kaniko
|
||||||
settings:
|
settings:
|
||||||
@@ -13,16 +12,14 @@ steps:
|
|||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- ${CI_COMMIT_SHA:0:8}
|
- ${CI_COMMIT_SHA:0:8}
|
||||||
# اطلاعات لاگین به Harbor
|
|
||||||
username:
|
username:
|
||||||
from_secret: harbor_username
|
from_secret: harbor_username
|
||||||
password:
|
password:
|
||||||
from_secret: harbor_password
|
from_secret: harbor_password
|
||||||
# مسیر داکرفایل (اگر در ریشه نیست تغییر دهید)
|
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
context: .
|
context: .
|
||||||
|
insecure: false
|
||||||
|
skip_tls_verify: false
|
||||||
when:
|
when:
|
||||||
event: [push, tag, manual]
|
event: [push, tag, manual]
|
||||||
|
|
||||||
# حذف بخش clone دستی برای جلوگیری از Hang در Image Pulling
|
|
||||||
# Woodpecker به صورت پیشفرض مرحله کلون را بهینه انجام میدهد
|
|
||||||
Reference in New Issue
Block a user