Release multiarch build (#334)

Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
This commit is contained in:
Maksim Nabokikh 2025-03-04 21:15:03 +01:00 committed by GitHub
parent a067eab80e
commit 63b219d3e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View File

@ -12,6 +12,7 @@ on:
env:
WERF_STAGED_DOCKERFILE_VERSION: v2
WERF_BUILDAH_MODE: auto
WERF_ENV: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') && 'release' || '' }}
jobs:
build:

View File

@ -3,8 +3,11 @@ configVersion: 1
build:
platform:
- linux/amd64
# TODO(nabokihms): build multiplatform images only for the master branch
# - linux/arm64
{{- if eq .Values.werf.env "release" }}
- linux/arm64
- linux/arm/v7
- linux/arm/v8
{{- end }}
staged: true
---
image: ovpn-admin