From 6dac7007f2ac3edd899fecec4e78e8bbbe0ed7c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Monat?= Date: Tue, 21 Feb 2023 17:29:38 +0100 Subject: [PATCH] Tentative CI fix --- .github/workflows/run-make-all.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-make-all.yml b/.github/workflows/run-make-all.yml index ef02d7bb..d939a5d7 100644 --- a/.github/workflows/run-make-all.yml +++ b/.github/workflows/run-make-all.yml @@ -22,8 +22,10 @@ jobs: fetch-depth: 0 - name: Prepare container with all dependencies run: git archive HEAD | docker build - --target dev-build-context + - name: Escape slashes in IMAGE_TAG (to avoid Docker issues) + run: echo "IMAGE_TAG=${IMAGE_TAG////--}" >> $GITHUB_ENV - name: Run builds, checks and tests - run: git archive HEAD | docker build - --force-rm -t catalalang/catala-build:${IMAGE_TAG} + run: git archive HEAD | docker build - --force-rm -t "catalalang/catala-build:${IMAGE_TAG}" - name: Cleanup Docker image if: ${{ github.ref != 'refs/heads/master' }} run: docker image rm catalalang/catala-build:${IMAGE_TAG}