Files
detections/.woodpecker.yml
T
Oleksandr Bezdieniezhnykh d3a2300669 Enhance Woodpecker CI configuration for multi-platform builds
- Introduced a matrix configuration to support building for both ARM64 and AMD64 platforms.
- Updated the Dockerfile reference to be dynamic based on the selected platform.
- Modified tag formatting for Docker images to include platform-specific tags, improving clarity in versioning.

Made-with: Cursor
2026-04-09 13:27:49 +03:00

28 lines
521 B
YAML

when:
branch: [stage, main]
event: push
matrix:
include:
- PLATFORM: linux/arm64
TAG: arm
DOCKERFILE: Dockerfile.jetson
- PLATFORM: linux/amd64
TAG: amd64
DOCKERFILE: Dockerfile
labels:
platform: ${PLATFORM}
steps:
- name: build-and-push
image: plugins/docker
settings:
dockerfile: ${DOCKERFILE}
context: .
repo: registry:5000/detections
tags:
- "${CI_COMMIT_BRANCH}-${TAG}"
- "${CI_COMMIT_SHA:0:8}-${TAG}"
insecure: true