Merge dbf2e87d38e9ce1e7e0a94b7aeeec85728c1a40c into 540b5836b2575f86f8d30cffb83a1a220ed7873e

This commit is contained in:
Maksim Nabokikh 2025-03-04 10:05:25 +00:00 committed by GitHub
commit 7244456b30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 14 additions and 3 deletions

View File

@ -16,7 +16,7 @@ env:
jobs:
build:
name: build images for tag
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
@ -24,7 +24,13 @@ jobs:
with:
fetch-depth: 0
- uses: werf/actions/install@v1.2
- name: Install werf
uses: werf/actions/install@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: linux/amd64, linux/arm64
- name: Login into ghcr.io
shell: bash

View File

@ -6,4 +6,4 @@ RUN apk add --update bash openvpn easy-rsa iptables && \
rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/*
RUN if [ -f "/usr/local/bin/openvpn-user-${TARGETARCH}" ]; then ln -s /usr/local/bin/openvpn-user-${TARGETARCH} /usr/local/bin/openvpn-user; fi
COPY setup/ /etc/openvpn/setup
RUN chmod +x /etc/openvpn/setup/configure.sh
RUN chmod +x /etc/openvpn/setup/configure.sh

View File

@ -1,5 +1,10 @@
project: ovpn-admin
configVersion: 1
build:
platform:
- linux/amd64
- linux/arm64
staged: false
---
image: ovpn-admin
dockerfile: Dockerfile.ovpn-admin