From 7631e64ad8733a3380b7d462fa56977009b1a0b5 Mon Sep 17 00:00:00 2001 From: KlviG <78801020+KlviG@users.noreply.github.com> Date: Tue, 16 Jun 2026 09:19:48 +0300 Subject: [PATCH 1/4] Create ci-build-image-notification.yml --- .../workflows/ci-build-image-notification.yml | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/ci-build-image-notification.yml diff --git a/.github/workflows/ci-build-image-notification.yml b/.github/workflows/ci-build-image-notification.yml new file mode 100644 index 0000000..fd312f3 --- /dev/null +++ b/.github/workflows/ci-build-image-notification.yml @@ -0,0 +1,42 @@ +name: Build and publish notification + +on: + push: + branches: + - wip + paths: + - '.env.notification' + +jobs: + PackageDeploy: + runs-on: ubuntu-22.04 + + steps: + - uses: actions/checkout@v2 + + - name: Docker Setup BuildX + uses: docker/setup-buildx-action@v2 + + - name: Load environment variables and set them + run: | + if [ -f .env.notification ]; then + export $(cat .env.llm_orchestration_service | grep -v '^#' | xargs) + fi + echo "RELEASE=$RELEASE" >> $GITHUB_ENV + echo "VERSION=$VERSION" >> $GITHUB_ENV + echo "BUILD=$BUILD" >> $GITHUB_ENV + echo "FIX=$FIX" >> $GITHUB_ENV + - name: Set repo + run: | + LOWER_CASE_GITHUB_REPOSITORY=$(echo $GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]') + echo "DOCKER_TAG_CUSTOM=ghcr.io/${LOWER_CASE_GITHUB_REPOSITORY}:$RELEASE-$VERSION.$BUILD.$FIX" >> $GITHUB_ENV + echo "$GITHUB_ENV" + - name: Docker Build + run: | + cd notification-server && docker image build --tag $DOCKER_TAG_CUSTOM -f Dockerfile . + + - name: Log in to GitHub container registry + run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin + + - name: Push Docker image to ghcr + run: docker push $DOCKER_TAG_CUSTOM From d4a42cf08b4d6057ed6af26b6730a0a8fcaf65d2 Mon Sep 17 00:00:00 2001 From: KlviG <78801020+KlviG@users.noreply.github.com> Date: Tue, 16 Jun 2026 09:20:44 +0300 Subject: [PATCH 2/4] Create .env.notification --- .env.notification | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .env.notification diff --git a/.env.notification b/.env.notification new file mode 100644 index 0000000..2697ffe --- /dev/null +++ b/.env.notification @@ -0,0 +1,4 @@ +RELEASE=notification-server +VERSION=1 +BUILD=1 +FIX=1 From 1b7728f520adff41f6c32eb0edf22d05bb7769b2 Mon Sep 17 00:00:00 2001 From: KlviG <78801020+KlviG@users.noreply.github.com> Date: Tue, 16 Jun 2026 09:27:56 +0300 Subject: [PATCH 3/4] Update ci-build-image-notification.yml --- .github/workflows/ci-build-image-notification.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-build-image-notification.yml b/.github/workflows/ci-build-image-notification.yml index fd312f3..4114d2f 100644 --- a/.github/workflows/ci-build-image-notification.yml +++ b/.github/workflows/ci-build-image-notification.yml @@ -20,7 +20,7 @@ jobs: - name: Load environment variables and set them run: | if [ -f .env.notification ]; then - export $(cat .env.llm_orchestration_service | grep -v '^#' | xargs) + export $(cat .env.notification | grep -v '^#' | xargs) fi echo "RELEASE=$RELEASE" >> $GITHUB_ENV echo "VERSION=$VERSION" >> $GITHUB_ENV From b4b962a4c7e5fe17c5cd95a70fe5e1f441bc7adf Mon Sep 17 00:00:00 2001 From: KlviG <78801020+KlviG@users.noreply.github.com> Date: Tue, 16 Jun 2026 09:28:18 +0300 Subject: [PATCH 4/4] Update .env.notification --- .env.notification | 1 + 1 file changed, 1 insertion(+) diff --git a/.env.notification b/.env.notification index 2697ffe..c341cf3 100644 --- a/.env.notification +++ b/.env.notification @@ -2,3 +2,4 @@ RELEASE=notification-server VERSION=1 BUILD=1 FIX=1 +