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: env:
WERF_STAGED_DOCKERFILE_VERSION: v2 WERF_STAGED_DOCKERFILE_VERSION: v2
WERF_BUILDAH_MODE: auto WERF_BUILDAH_MODE: auto
WERF_ENV: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') && 'release' || '' }}
jobs: jobs:
build: build:

View File

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