Skip to content

Commit

Permalink
CI: Disable caching image layers
Browse files Browse the repository at this point in the history
When pushing the cache to quay.io, we get
an `400 BAD REQUEST`. Disabling it for now.

moby/buildkit#1440
could be related.
  • Loading branch information
AndreasSko committed May 23, 2020
1 parent ac5a98f commit 31eb793
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ jobs:
run: |
for i in 1 2; do
docker buildx build \
--cache-to "type=registry,mode=max,ref=${{ secrets.docker_registry }}/${{ secrets.docker_registry_username }}/$image_name:${{ steps.image_tag.outputs.image_tag }}_cache" \
--cache-from "type=registry,ref=${{ secrets.docker_registry }}/${{ secrets.docker_registry_username }}/$image_name:${{ steps.image_tag.outputs.image_tag }}_cache" \
--output "type=image,name=${{ secrets.docker_registry }}/${{ secrets.docker_registry_username }}/$image_name:${{ steps.image_tag.outputs.image_tag }},push=true" \
--build-arg IMAGE_TAG=${{ steps.image_tag.outputs.image_tag }} \
--build-arg DOCKER_REGISTRY=${{ secrets.docker_registry }} \
Expand Down Expand Up @@ -64,8 +62,6 @@ jobs:
run: |
for i in 1 2; do
docker buildx build \
--cache-to "type=registry,mode=max,ref=${{ secrets.docker_registry }}/${{ secrets.docker_registry_username }}/$image_name:${{ steps.image_tag.outputs.image_tag }}_cache" \
--cache-from "type=registry,ref=${{ secrets.docker_registry }}/${{ secrets.docker_registry_username }}/$image_name:${{ steps.image_tag.outputs.image_tag }}_cache" \
--output "type=image,name=${{ secrets.docker_registry }}/${{ secrets.docker_registry_username }}/$image_name:${{ steps.image_tag.outputs.image_tag }},push=true" \
--build-arg IMAGE_TAG=${{ steps.image_tag.outputs.image_tag }} \
--build-arg DOCKER_REGISTRY=${{ secrets.docker_registry }} \
Expand Down

0 comments on commit 31eb793

Please sign in to comment.