mirror of
https://github.com/flant/ovpn-admin.git
synced 2025-12-13 12:26: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:
|
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:
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user