Update build-and-publish-container-image-with-buildpacks job conditions

bug/invalid-f2c-ns-name
John Niang 2025-09-17 00:02:42 +08:00
parent 35504b4e5a
commit ce7c92171d
No known key found for this signature in database
GPG Key ID: D7363C015BBCAA59
1 changed files with 2 additions and 1 deletions

View File

@ -81,7 +81,8 @@ jobs:
run: gh release upload ${{ github.event.release.tag_name }} application/build/libs/*
build-and-publish-container-image-with-buildpacks:
if: always() && (github.event_name == 'push' || github.event_name == 'release')
needs: build
if: always() && needs.build.result == 'success' && (github.event_name == 'push' || github.event_name == 'release')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4