From e6a6f6f683583ba45959b5e0fdc4abe683fcb293 Mon Sep 17 00:00:00 2001 From: pancho horrillo Date: Mon, 11 Jan 2021 18:03:04 +0100 Subject: [PATCH] chore(workflows): build spec test docker image locally MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove an inherent race condition when using Docker Hub. Co-authored-by: Roberto Abdelkader Martínez Pérez --- .github/workflows/test_and_release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test_and_release.yml b/.github/workflows/test_and_release.yml index 5cd7dea..2ec5aa9 100644 --- a/.github/workflows/test_and_release.yml +++ b/.github/workflows/test_and_release.yml @@ -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