diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 75ae1597..1f861221 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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 @@ -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: