Some checks failed
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 / test (3.12) (push) Has been cancelled
CI / security (push) Has been cancelled
25 lines
604 B
YAML
25 lines
604 B
YAML
# Peikarband Platform - Woodpecker CI/CD Pipeline
|
|
# Harbor Registry: hub.peikarband.ir
|
|
# Best Practices Applied
|
|
|
|
steps:
|
|
build-and-push:
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
settings:
|
|
registry: hub.peikarband.ir
|
|
repo: hub.peikarband.ir/peikarband/landing
|
|
username:
|
|
from_secret: harbor_username
|
|
password:
|
|
from_secret: harbor_password
|
|
tags:
|
|
- latest
|
|
- ${CI_COMMIT_SHA:0:8}
|
|
dockerfile: Dockerfile
|
|
context: .
|
|
platforms: linux/amd64
|
|
cache: true
|
|
insecure: false
|
|
when:
|
|
event: [push, tag, manual]
|