Release multiarch build

Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
This commit is contained in:
maksim.nabokikh 2025-03-04 21:06:59 +01:00
parent ca962491b6
commit 64df8fc353
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