Add multi-platform support in Woodpecker CI configuration with ARM and AMD64 tags

This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-04-09 13:27:35 +03:00
parent 073a02fc84
commit b9d068d6c7
+12 -2
View File
@@ -2,6 +2,16 @@ when:
branch: [stage, main] branch: [stage, main]
event: push event: push
matrix:
include:
- PLATFORM: linux/arm64
TAG: arm
- PLATFORM: linux/amd64
TAG: amd64
labels:
platform: ${PLATFORM}
steps: steps:
- name: build-and-push - name: build-and-push
image: plugins/docker image: plugins/docker
@@ -10,6 +20,6 @@ steps:
context: . context: .
repo: registry:5000/ui repo: registry:5000/ui
tags: tags:
- "${CI_COMMIT_BRANCH}" - "${CI_COMMIT_BRANCH}-${TAG}"
- "${CI_COMMIT_SHA:0:8}" - "${CI_COMMIT_SHA:0:8}-${TAG}"
insecure: true insecure: true