Update generator-jhipster to 8.8.0 #1923
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: build docker image | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build_docker_image: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build docker image | |
run: docker build -t jhipster/jhipster-dotnetcore:test-build . | |
- name: Check if docker image exists and remove it | |
run: | | |
imageId=$(docker images -q jhipster/jhipster-dotnetcore:test-build) | |
if [[ -z "${imageId}" ]]; then | |
echo "Docker image is not getting built or is broken" | |
exit 1 | |
fi | |
docker rmi $imageId |