Skip to content

Commit

Permalink
Use legacy builder to build Docker image:
Browse files Browse the repository at this point in the history
This is a temporary fix to make the caching mechanism in the CI work
again. Its currently broken due to a switch to BuildKit as the default
builder for Docker Engine as of version 23.0 (2023-02-01).
  • Loading branch information
DanielKotik committed Jun 13, 2024
1 parent dd37531 commit 031fab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cpu-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
CACHE=$IMAGE_REPO/$IMAGE_NAME:latest
fi
docker build . --file Dockerfile --tag $IMAGE_NAME:local --cache-from=$CACHE --build-arg DEVICE=cpu
DOCKER_BUILDKIT=0 docker build . --file Dockerfile --tag $IMAGE_NAME:local --cache-from=$CACHE --build-arg DEVICE=cpu
# Show images
docker images --filter=reference=$IMAGE_NAME --filter=reference=$IMAGE_REPO/$IMAGE_NAME
Expand Down

0 comments on commit 031fab3

Please sign in to comment.