Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Commit

Permalink
feat: Job to enforce build success (#28)
Browse files Browse the repository at this point in the history
* feat: Use (more) stable job names

* feat: Add job to enforce build success
  • Loading branch information
bo0tzz authored Dec 16, 2023
1 parent b9f8988 commit 928539a
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ jobs:
matrix: ${{ fromJson(needs.configure.outputs.matrix) }}

steps:
# Setup

- name: Checkout
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -110,3 +108,17 @@ jobs:
build-args: |
CNPG_TAG=${{ matrix.cnpg }}
PGVECTORS_TAG=${{ matrix.pgvectors }}
results:
if: ${{ always() }}
runs-on: ubuntu-latest
name: Build results
needs: [build_and_push]
steps:
- run: |
result="${{ needs.build_and_push.result }}"
if [[ $result == "success" || $result == "skipped" ]]; then
exit 0
else
exit 1
fi

0 comments on commit 928539a

Please sign in to comment.