Update install_postgres_json_schema_extension.sh #28
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Build Check | |
on: | |
pull_request: | |
branches: | |
- main | |
- develop | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Build Docker image | |
run: docker build . | |
- name: Check Docker image build status | |
run: | | |
exit_code=$? | |
if [ $exit_code -ne 0 ]; then | |
echo "Docker image build failed." | |
exit 1 | |
else | |
echo "Docker image build successful." | |
exit 0 | |
fi |