Files
admin/.woodpecker.yml
T
Oleksandr Bezdieniezhnykh 0f01e5a7c7 Add multi-platform support in Woodpecker CI configuration
Introduced a matrix for building on both linux/arm64 and linux/amd64 platforms. Updated the tagging format to include platform-specific tags for better image management.
2026-04-09 13:28:45 +03:00

26 lines
448 B
YAML

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