Skip to content

Commit 25acb2d

Browse files
fix: move devcontainer feature to features/dbr/
The devcontainers/action scans all entries under base-path-to-features and errors on non-feature directories. Moving the feature from src/dbr/ to features/dbr/ isolates it from Rust source files. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3723362 commit 25acb2d

5 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish-feature.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: devcontainers/action@v1
1919
with:
2020
publish-features: "true"
21-
base-path-to-features: "./src"
21+
base-path-to-features: "./features"
2222
generate-docs: "true"
2323
env:
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

docs/development.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,15 +545,15 @@ GitHub Release with auto-generated release notes and attaches all artifacts.
545545
After the GitHub Release exists, publish the devcontainer feature to GHCR:
546546

547547
1. Go to **Actions****Publish Feature****Run workflow**
548-
2. The `devcontainers/action@v1` packages `src/dbr/` as an OCI artifact
548+
2. The `devcontainers/action@v1` packages `features/dbr/` as an OCI artifact
549549
3. The feature is published to `ghcr.io/bradleybeddoes/devcontainer-bridge/dbr`
550550

551551
The feature's `install.sh` downloads the correct binary for the container's
552552
architecture from the GitHub Release at install time.
553553

554554
### How the feature version works
555555

556-
The feature has its own version in `src/dbr/devcontainer-feature.json` (e.g.,
556+
The feature has its own version in `features/dbr/devcontainer-feature.json` (e.g.,
557557
`1.0.0`), which is independent of the binary version (e.g., `v0.1.0`). The
558558
feature version controls the OCI artifact tag:
559559

0 commit comments

Comments
 (0)