chore(workflows): build spec test docker image locally

Remove an inherent race condition when using Docker Hub.

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
This commit is contained in:
pancho horrillo
2021-01-11 18:03:04 +01:00
parent 6821eca6f3
commit e6a6f6f683
+4
View File
@@ -34,6 +34,10 @@ jobs:
- name: Build executable
run: |
make build
- name: Build spec test suite docker image
run: |
cd spec/test
docker build . -t bbvalabsci/kapow-spec-test-suite:latest
- name: Spec test
run: |
docker run --mount type=bind,source=$(pwd)/build/kapow,target=/usr/local/bin/kapow bbvalabsci/kapow-spec-test-suite:latest behave --tags=~@skip