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:
|
steps:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
@@ -18,13 +14,11 @@ steps:
|
|||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
# Build arguments for Dockerfile
|
|
||||||
build_args:
|
build_args:
|
||||||
- VERSION=${CI_COMMIT_SHA:0:8}
|
- VERSION=${CI_COMMIT_SHA:0:8}
|
||||||
- BUILD_DATE=${CI_PIPELINE_CREATED}
|
- BUILD_DATE=${CI_PIPELINE_CREATED}
|
||||||
- PYTHON_VERSION=3.11
|
- PYTHON_VERSION=3.11
|
||||||
- NODE_VERSION=20
|
- NODE_VERSION=20
|
||||||
# OCI labels for better metadata
|
|
||||||
labels:
|
labels:
|
||||||
- org.opencontainers.image.created=${CI_PIPELINE_CREATED}
|
- org.opencontainers.image.created=${CI_PIPELINE_CREATED}
|
||||||
- org.opencontainers.image.source=${CI_REPO_LINK}
|
- org.opencontainers.image.source=${CI_REPO_LINK}
|
||||||
@@ -33,10 +27,7 @@ steps:
|
|||||||
- org.opencontainers.image.version=${CI_COMMIT_SHA:0:8}
|
- org.opencontainers.image.version=${CI_COMMIT_SHA:0:8}
|
||||||
- org.opencontainers.image.title=Peikarband Landing
|
- org.opencontainers.image.title=Peikarband Landing
|
||||||
- org.opencontainers.image.description=Peikarband hosting platform landing page
|
- org.opencontainers.image.description=Peikarband hosting platform landing page
|
||||||
# Cache optimization
|
cache: inline
|
||||||
cache: true
|
|
||||||
cache_from: hub.peikarband.ir/peikarband/landing:latest
|
|
||||||
# Security & provenance
|
|
||||||
provenance: true
|
provenance: true
|
||||||
insecure: false
|
insecure: false
|
||||||
when:
|
when:
|
||||||
|
|||||||
Reference in New Issue
Block a user