Files
portfolio/.woodpecker/build.yaml
Taqi Tahmid ea5e6f2f06
Some checks failed
ci/woodpecker/manual/build Pipeline failed
use buildx for building
2025-08-03 21:20:25 +03:00

36 lines
1023 B
YAML

when:
- event: [push, pull_request, manual]
branch: [master, feature/*]
steps:
# - name: lint-frontend
# image: node:24
# commands:
# - cd frontend
# - npm install
# - npm run lint
# - name: trivy-scan
# image: aquasec/trivy:latest
# commands:
# - trivy fs --scanners vuln,config --exit-code 1 --ignorefile .trivyignore --severity HIGH,CRITICAL frontend/
# - name: build-frontend
# image: node:24
# commands:
# - cd frontend
# - npm run build
- name: build-and-publish
image: woodpeckerci/plugin-docker-buildx
settings:
registry: gitea.tahmidcloud.com
repo: gitea.tahmidcloud.com/taqi/portfolio
tags:
- latest
- 1.0.0-${CI_PIPELINE_NUMBER} # Ref: https://woodpecker-ci.org/docs/usage/environment
skip_tls_verify: false # set to true for testing registries ONLY with self-signed certs
build_args:
- COMMIT_SHA=${CI_COMMIT_SHA}
- COMMIT_AUTHOR_EMAIL=${CI_COMMIT_AUTHOR_EMAIL}