From 483e2c998cf5cbd6399145a1204b70351828219d Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Sun, 20 Dec 2020 13:37:00 +0100 Subject: [PATCH] Rebuild docker image before execute project build (#117) Motivation: To ensure we pick up changes we need to rebuild the image before we run the build Modifications: Add extra step which rebuilds image Result: Image always up to date --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4fc4617d2..08fd197f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,10 @@ jobs: restore-keys: | docker-cache-${{ steps.cache-key.outputs.key }}- - - name: Run docker-compose + - name: Build docker image + run: docker-compose -f docker/docker-compose.centos-6.yaml -f docker/docker-compose.centos-6.18.yaml build + + - name: Execute project build run: docker-compose -f docker/docker-compose.centos-6.yaml -f docker/docker-compose.centos-6.18.yaml run build - uses: actions/upload-artifact@v2