mirror of
https://github.com/YuzuZensai/cloudnative-vectorchord-pgvecto.rs.git
synced 2026-01-31 14:57:18 +00:00
feat: Job to enforce build success (#28)
* feat: Use (more) stable job names * feat: Add job to enforce build success
This commit is contained in:
16
.github/workflows/docker.yml
vendored
16
.github/workflows/docker.yml
vendored
@@ -39,8 +39,6 @@ jobs:
|
|||||||
matrix: ${{ fromJson(needs.configure.outputs.matrix) }}
|
matrix: ${{ fromJson(needs.configure.outputs.matrix) }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# Setup
|
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -110,3 +108,17 @@ jobs:
|
|||||||
build-args: |
|
build-args: |
|
||||||
CNPG_TAG=${{ matrix.cnpg }}
|
CNPG_TAG=${{ matrix.cnpg }}
|
||||||
PGVECTORS_TAG=${{ matrix.pgvectors }}
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user