fixe ci
Some checks failed
CI / test (3.12) (push) Has been cancelled
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/manual/woodpecker Pipeline failed
CD - Build & Deploy / build-and-push (push) Has been cancelled
CD - Build & Deploy / package-helm (push) Has been cancelled
CD - Build & Deploy / deploy-staging (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 / security (push) Has been cancelled
Some checks failed
CI / test (3.12) (push) Has been cancelled
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/manual/woodpecker Pipeline failed
CD - Build & Deploy / build-and-push (push) Has been cancelled
CD - Build & Deploy / package-helm (push) Has been cancelled
CD - Build & Deploy / deploy-staging (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 / security (push) Has been cancelled
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
# Peikarband Platform - Woodpecker CI/CD Pipeline
|
||||
# Harbor Registry: hub.peikarband.ir
|
||||
# Best Practices Applied
|
||||
|
||||
steps:
|
||||
build-and-push:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
@@ -18,13 +14,11 @@ steps:
|
||||
dockerfile: Dockerfile
|
||||
context: .
|
||||
platforms: linux/amd64
|
||||
# Build arguments for Dockerfile
|
||||
build_args:
|
||||
- VERSION=${CI_COMMIT_SHA:0:8}
|
||||
- BUILD_DATE=${CI_PIPELINE_CREATED}
|
||||
- PYTHON_VERSION=3.11
|
||||
- NODE_VERSION=20
|
||||
# OCI labels for better metadata
|
||||
labels:
|
||||
- org.opencontainers.image.created=${CI_PIPELINE_CREATED}
|
||||
- org.opencontainers.image.source=${CI_REPO_LINK}
|
||||
@@ -33,10 +27,7 @@ steps:
|
||||
- org.opencontainers.image.version=${CI_COMMIT_SHA:0:8}
|
||||
- org.opencontainers.image.title=Peikarband Landing
|
||||
- org.opencontainers.image.description=Peikarband hosting platform landing page
|
||||
# Cache optimization
|
||||
cache: true
|
||||
cache_from: hub.peikarband.ir/peikarband/landing:latest
|
||||
# Security & provenance
|
||||
cache: inline
|
||||
provenance: true
|
||||
insecure: false
|
||||
when:
|
||||
|
||||
Reference in New Issue
Block a user