Add build args support
This commit is contained in:
parent
24fb1546b7
commit
c827972079
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user