Add step to check docker build (#673)

* Add step to check docker build
This commit is contained in:
Michael Derynck 2022-10-19 09:08:37 -06:00 committed by GitHub
parent 427c6c95c5
commit 5d20c60895
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,3 +124,17 @@ jobs:
cd engine/
pip install -r requirements.txt
pytest --ds=settings.ci-test -x
docker-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Test docker build (no push)
id: docker_build
uses: docker/build-push-action@v2
with:
context: ./engine
file: ./engine/Dockerfile
push: false
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}