mirror of
https://github.com/azaion/detections.git
synced 2026-04-23 07:16:33 +00:00
7b68e18957
- Added a new guideline to never suppress errors silently in coding rules. - Introduced specifications for command files, including markdown format and kebab-case filenames. - Updated Git workflow to require explicit user permission before pushing or merging changes. - Adjusted Woodpecker CI configuration to trigger on push events. Made-with: Cursor
17 lines
439 B
YAML
17 lines
439 B
YAML
when:
|
|
event: push
|
|
branch: [dev, stage, main]
|
|
|
|
labels:
|
|
platform: arm64
|
|
|
|
steps:
|
|
- name: build-push
|
|
image: docker
|
|
commands:
|
|
- if [ "$CI_COMMIT_BRANCH" = "main" ]; then export TAG=arm; else export TAG=${CI_COMMIT_BRANCH}-arm; fi
|
|
- docker build -f Dockerfile.jetson -t localhost:5000/detections:$TAG .
|
|
- docker push localhost:5000/detections:$TAG
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|