Add build args support

This commit is contained in:
Nikolai Rodionov 2024-02-27 16:40:29 +01:00
parent 24fb1546b7
commit c827972079
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD

View File

@ -14,7 +14,7 @@ trigger:
steps:
- name: Build openvpn xor amd64
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:9fabf0ce6eab3a9a9da15b2791e8282afc05ee0b
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:ff4a98f2acb557ad443f279627036bebf06bc4f1
privileged: true
environment:
GITEA_TOKEN:
@ -24,10 +24,11 @@ steps:
- source ./env/openvpn_xor.env
- env
- export CUSTOM_TAG="v$OPENVPN_VERSION-XOR-$TUNNELBLICK_VERSION"
- export BUILD_ARGS="--build-arg OPENVPN_VERSION=$OPENVPN_VERSION --build-arg TUNNELBLICK_VERSION=$TUNNELBLICK_VERSION"
- build-container
- name: Build openvpn amd64
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:9fabf0ce6eab3a9a9da15b2791e8282afc05ee0b
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:ff4a98f2acb557ad443f279627036bebf06bc4f1
privileged: true
environment:
GITEA_TOKEN:
@ -36,4 +37,5 @@ steps:
commands:
- source ./env/openvpn.env
- export CUSTOM_TAG="v$OPENVPN_VERSION"
- export BUILD_ARGS="--build-arg OPENVPN_VERSION=$OPENVPN_VERSION"
- build-container