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
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,10 @@ jobs:

devcontainer:
name: Dev Container
runs-on: ubuntu-latest
# Pinned (not ubuntu-latest): Compose v5 removes the internal builder entirely, so
# COMPOSE_BAKE: "false" below stops working once the runner image moves to it --
# ubuntu-latest is scheduled to migrate to Ubuntu 26.04 (ships Compose 5.1.3).
runs-on: ubuntu-24.04
if: github.event_name == 'push' || (github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
permissions:
contents: read
Expand All @@ -308,6 +311,12 @@ jobs:

- name: Build
uses: devcontainers/ci@v0.3
env:
# Compose's buildx-bake backend sandboxes file reads outside the build context;
# devcontainers/cli's generated Features Dockerfile lives under /tmp, so bake
# rejects it with "additional privileges requested: pass --allow=fs.read=...".
# Forcing the legacy (non-bake) build backend avoids that entitlement check.
COMPOSE_BAKE: "false"
Comment thread
coderabbitai[bot] marked this conversation as resolved.
with:
cacheFrom: ${{ steps.img.outputs.name }}
push: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') && 'always' || 'never' }}
Expand Down
Loading