Fix/cidr error handling (#102)

* fix docker build

* catch error from CIDR which can happen with invalid sip gateway data
This commit is contained in:
Dave Horton
2023-05-31 09:11:53 -04:00
committed by GitHub
parent 8448e003f6
commit e641c590b2
2 changed files with 19 additions and 7 deletions
+3 -1
View File
@@ -2,6 +2,8 @@ name: Docker
on:
push:
branches:
- main
tags:
- '*'
@@ -18,7 +20,7 @@ jobs:
- name: prepare tag
id: prepare_tag
run: |
IMAGE_ID=$GITHUB_REPOSITORY
IMAGE_ID=jambonz/sbc-inbound
# Strip git ref prefix from version
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')