mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
Tentative CI fix
This commit is contained in:
parent
7021c41f93
commit
6dac7007f2
4
.github/workflows/run-make-all.yml
vendored
4
.github/workflows/run-make-all.yml
vendored
@ -22,8 +22,10 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Prepare container with all dependencies
|
- name: Prepare container with all dependencies
|
||||||
run: git archive HEAD | docker build - --target dev-build-context
|
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
|
- 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
|
- name: Cleanup Docker image
|
||||||
if: ${{ github.ref != 'refs/heads/master' }}
|
if: ${{ github.ref != 'refs/heads/master' }}
|
||||||
run: docker image rm catalalang/catala-build:${IMAGE_TAG}
|
run: docker image rm catalalang/catala-build:${IMAGE_TAG}
|
||||||
|
Loading…
Reference in New Issue
Block a user