mirror of https://github.com/halo-dev/halo
Update build-and-publish-container-image-with-buildpacks job conditions
parent
35504b4e5a
commit
ce7c92171d
|
@ -81,7 +81,8 @@ jobs:
|
||||||
run: gh release upload ${{ github.event.release.tag_name }} application/build/libs/*
|
run: gh release upload ${{ github.event.release.tag_name }} application/build/libs/*
|
||||||
|
|
||||||
build-and-publish-container-image-with-buildpacks:
|
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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
Loading…
Reference in New Issue