From 3ad43d0a1deb4f36162ffb0568eb947c6d7a0f43 Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 15 Oct 2025 15:21:11 +0300 Subject: [PATCH] test new build --- .github/workflows/build.yaml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 19c3405..dcd0693 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -11,7 +11,11 @@ on: force_build: type: boolean default: false - + secrets: + VK_TEAMS_BOT_TOKEN: + required: true + VK_TEAMS_CHAT_ID: + required: true jobs: build: @@ -20,13 +24,15 @@ jobs: CR_REGISTRY: crp8vh46gd976oq8ipla CR_REPO: ${{ github.event.repository.name }} IMAGE_TAG: ${{ github.sha }} + steps: - - name: notify + - name: Notify (started) uses: https://bb.hublab.ru/HUB/workflows/.gitea/actions/vk-notify@main with: - result: 'started' + result: started name: build tag ${{ inputs.tag }} - secrets: ${{ toJSON(secrets) }} + token: ${{ secrets.VK_TEAMS_BOT_TOKEN }} + to: ${{ secrets.VK_TEAMS_CHAT_ID }} - uses: actions/checkout@v4 with: @@ -100,10 +106,11 @@ jobs: path: /cache/buildx-cache key: ${{ runner.os }}-buildx-${{ github.sha }} - - name: post-notify + - name: Notify (result) if: always() uses: https://bb.hublab.ru/HUB/workflows/.gitea/actions/vk-notify@main with: result: ${{ steps.build-step.outcome }} name: build tag ${{ inputs.tag }} - secrets: ${{ toJSON(secrets) }} \ No newline at end of file + token: ${{ secrets.VK_TEAMS_BOT_TOKEN }} + to: ${{ secrets.VK_TEAMS_CHAT_ID }} -- 2.49.1