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
26 lines
569 B
YAML
26 lines
569 B
YAML
# Peikarband Platform - Woodpecker CI/CD Pipeline
|
|
variables:
|
|
- &harbor_registry "hub.peikarband.ir"
|
|
- &image_name "peikarband/landing"
|
|
|
|
steps:
|
|
build-and-push:
|
|
image: plugins/kaniko
|
|
settings:
|
|
registry: *harbor_registry
|
|
repo: *image_name
|
|
tags:
|
|
- latest
|
|
- ${CI_COMMIT_SHA:0:8}
|
|
username:
|
|
from_secret: harbor_username
|
|
password:
|
|
from_secret: harbor_password
|
|
dockerfile: Dockerfile
|
|
context: .
|
|
insecure: false
|
|
skip_tls_verify: false
|
|
when:
|
|
event: [push, tag, manual]
|
|
|