Skip to content

Commit ec0670b

Browse files
committed
Fix devcontainer prebuild workflow
Fixed two issues with the devcontainer-prebuild workflow: 1. Added required `runCmd` parameter to devcontainers/ci action - The action requires a command to run after building - Using simple echo command to validate build success 2. Removed docker/setup-buildx-action step - devcontainers/ci action handles Docker setup internally - buildx setup was potentially conflicting with the action These changes should fix the prebuild CI failure that was occurring when trying to build the dev container image. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 63b7d92 commit ec0670b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/devcontainer-prebuild.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ jobs:
3131
- name: Checkout repository
3232
uses: actions/checkout@v4
3333

34-
- name: Set up Docker Buildx
35-
uses: docker/setup-buildx-action@v3
36-
3734
- name: Log in to GitHub Container Registry
3835
uses: docker/login-action@v3
3936
with:
@@ -48,6 +45,7 @@ jobs:
4845
cacheFrom: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4946
push: ${{ github.event_name != 'pull_request' && 'always' || 'never' }}
5047
imageTag: latest
48+
runCmd: echo "Dev container built successfully"
5149

5250
- name: Summary
5351
if: success()

0 commit comments

Comments
 (0)