Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
634750802 committed Oct 9, 2024
1 parent 3252936 commit 1f47228
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
name: Build and Push Backend Image
runs-on: ubuntu-latest
needs: docker-metadata
if: ${{needs.docker-metadata.outputs.should-build-backend != 'false'}}
if: ${{needs.docker-metadata.outputs.should-build-backend == 'true'}}
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
name: Build and Push Frontend Image
runs-on: ubuntu-latest
needs: docker-metadata
if: ${{needs.docker-metadata.outputs.should-build-frontend != 'false'}}
if: ${{needs.docker-metadata.outputs.should-build-frontend == 'true'}}
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -155,6 +155,8 @@ jobs:
- build-frontend
if: |
!cancelled() &&
needs.docker-metadata.outputs.e2e-backend &&
needs.docker-metadata.outputs.e2e-frontend &&
!contains(needs.*.result, 'failure') &&
!contains(needs.*.result, 'cancelled')
steps:
Expand Down

0 comments on commit 1f47228

Please sign in to comment.