Add build args support
This commit is contained in:
parent
24fb1546b7
commit
c827972079
@ -14,7 +14,7 @@ trigger:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Build openvpn xor amd64
|
- name: Build openvpn xor amd64
|
||||||
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:9fabf0ce6eab3a9a9da15b2791e8282afc05ee0b
|
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:ff4a98f2acb557ad443f279627036bebf06bc4f1
|
||||||
privileged: true
|
privileged: true
|
||||||
environment:
|
environment:
|
||||||
GITEA_TOKEN:
|
GITEA_TOKEN:
|
||||||
@ -24,10 +24,11 @@ steps:
|
|||||||
- source ./env/openvpn_xor.env
|
- source ./env/openvpn_xor.env
|
||||||
- env
|
- env
|
||||||
- export CUSTOM_TAG="v$OPENVPN_VERSION-XOR-$TUNNELBLICK_VERSION"
|
- 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
|
- build-container
|
||||||
|
|
||||||
- name: Build openvpn amd64
|
- name: Build openvpn amd64
|
||||||
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:9fabf0ce6eab3a9a9da15b2791e8282afc05ee0b
|
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:ff4a98f2acb557ad443f279627036bebf06bc4f1
|
||||||
privileged: true
|
privileged: true
|
||||||
environment:
|
environment:
|
||||||
GITEA_TOKEN:
|
GITEA_TOKEN:
|
||||||
@ -36,4 +37,5 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- source ./env/openvpn.env
|
- source ./env/openvpn.env
|
||||||
- export CUSTOM_TAG="v$OPENVPN_VERSION"
|
- export CUSTOM_TAG="v$OPENVPN_VERSION"
|
||||||
|
- export BUILD_ARGS="--build-arg OPENVPN_VERSION=$OPENVPN_VERSION"
|
||||||
- build-container
|
- build-container
|
||||||
|
Loading…
Reference in New Issue
Block a user