Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/actions/setup-compose/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Set up Compose build workaround
description: Disable Bake filesystem entitlement checks for the affected runner Compose versions.
description: Disable Bake filesystem entitlement checks for Compose 2.38.x and 5.6.x patch releases.

runs:
using: composite
Expand All @@ -10,9 +10,7 @@ runs:
version=$(docker compose version --short)
echo "Compose version: $version"
# Temporary workaround for https://github.com/devcontainers/cli/issues/1320.
case "${version#v}" in
2.38.2|5.6.0)
echo "::warning::Disabling Bake filesystem and default SSH-agent consent checks for Compose $version."
echo "BUILDX_BAKE_ENTITLEMENTS_FS=0" >> "$GITHUB_ENV"
;;
esac
if [[ "${version#v}" =~ ^(2\.38|5\.6)\.[0-9]+$ ]]; then
echo "::warning::Disabling Bake filesystem and default SSH-agent consent checks for Compose $version."
echo "BUILDX_BAKE_ENTITLEMENTS_FS=0" >> "$GITHUB_ENV"
fi
Loading