File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Build OVF Image
22
33on :
4+ push :
5+ branches :
6+ - ova
47 workflow_dispatch :
58 inputs :
69 core_tag :
1316 description : " defguard gateway image tag"
1417 required : true
1518
19+ env :
20+ DEFAULT_TAG : " 2.0.0-alpha2"
21+
1622jobs :
1723 build :
1824 runs-on : [self-hosted, Linux, X64]
6268 run : |
6369 packer build \
6470 -var "iso_url=file://$PWD/ubuntu-24.04.4-live-server-amd64.iso" \
65- -var "core_tag=${{ github.event.inputs.core_tag }}" \
66- -var "proxy_tag=${{ github.event.inputs.proxy_tag }}" \
67- -var "gateway_tag=${{ github.event.inputs.gateway_tag }}" \
71+ -var "core_tag=${{ github.event.inputs.core_tag || env.DEFAULT_TAG }}" \
72+ -var "proxy_tag=${{ github.event.inputs.proxy_tag || env.DEFAULT_TAG }}" \
73+ -var "gateway_tag=${{ github.event.inputs.gateway_tag || env.DEFAULT_TAG }}" \
6874 defguard.pkr.hcl
6975
7076 - name : Print OVA size
You can’t perform that action at this time.
0 commit comments