diff --git a/.github/workflows/check-tag.yaml b/.github/workflows/check-tag.yaml index 63a7f6f4b34..847bb4b3cc9 100644 --- a/.github/workflows/check-tag.yaml +++ b/.github/workflows/check-tag.yaml @@ -26,15 +26,17 @@ jobs: images=$(grep -ro * -e "ghcr\.io\/networkservicemesh\/.*") for image in $images; do if [[ "$image" != *"${{ env.tag }}"* ]]; then - exit 1 + exit 0 fi done + exit 1 + replace-params: name: Replace params runs-on: ubuntu-latest needs: [check-tags] - if: ${{ always() && needs.check-tags.result == 'failure' }} + if: ${{ always() && needs.check-tags.result == 'success' }} steps: - name: Checkout repository uses: actions/checkout@v4