feat: update build

This commit is contained in:
Georg K
2025-06-24 17:49:39 +03:00
parent 2338f97df6
commit b2aaec33d9
7 changed files with 36 additions and 14 deletions

View File

@@ -1,6 +1,7 @@
variables:
CI_REGISTRY: registry.connectone.pro
CONTAINER_IMAGE: ${CI_REGISTRY}/${CI_PROJECT_PATH}:${CI_COMMIT_REF_NAME}_${CI_COMMIT_SHORT_SHA}
RADIUS_TAG: "release_3_2_7"
stages:
- release
@@ -26,7 +27,7 @@ release-deb:
DOCKER_BUILDKIT: 1
script:
- cd build
- docker build . -t freerad_builder:3.2.x -f Dockerfile
- docker build --build-arg RADIUS_TAG=${RADIUS_TAG}. -t freerad_builder:3.2.x -f Dockerfile
- docker run -e DEB_USER=${DEB_USER} -e DEB_PASS="${DEB_PASS}" freerad_builder:3.2.x ./upload.sh
when: manual
only:
@@ -36,7 +37,7 @@ release-hosted:
stage: release-hosted
image: alpine:latest
variables:
VERSION: "1.0.3"
VERSION: "${RADIUS_TAG}"
script:
- apk add --no-cache curl
- chmod a+x hosted/install.sh hosted/update.sh