mirror of
https://github.com/flant/ovpn-admin.git
synced 2025-12-13 04:16:14 -08:00
Release multiarch build (#334)
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
This commit is contained in:
parent
a067eab80e
commit
63b219d3e3
1
.github/workflows/publish-tag.yaml
vendored
1
.github/workflows/publish-tag.yaml
vendored
@ -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:
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user