Skip to content

Bump generator-jhipster from 8.5.0 to 8.7.0 #1856

Bump generator-jhipster from 8.5.0 to 8.7.0

Bump generator-jhipster from 8.5.0 to 8.7.0 #1856

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