add
All checks were successful
SonarQube / Build and analyze (pull_request) Successful in 3m10s
Tests / Run Tests (pull_request) Successful in 2m37s

This commit is contained in:
Leonid Pershin
2025-10-22 12:38:16 +03:00
parent a4bcb78295
commit 3adbc189eb
3 changed files with 66 additions and 1 deletions

View File

@@ -1,7 +1,10 @@
name: Publish Docker Image
on:
push:
workflow_run:
workflows: ["SonarQube", "Tests"]
types:
- completed
branches:
- master
@@ -9,6 +12,8 @@ jobs:
publish:
name: Build and Publish to Harbor
runs-on: ubuntu-latest
# Запускаем только если предыдущий workflow успешно завершился
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout code
uses: actions/checkout@v4