File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,24 +64,23 @@ jobs:
6464 steps :
6565 - uses : actions/checkout@v4
6666
67- - name : Set up Docker Buildx
68- uses : docker/setup-buildx-action@v3
69-
7067 - name : Log in to GHCR
7168 uses : docker/login-action@v3
7269 with :
7370 registry : ghcr.io
7471 username : ${{ github.actor }}
7572 password : ${{ secrets.GITHUB_TOKEN }}
7673
74+ - name : Install devcontainer CLI
75+ run : npm install -g @devcontainers/cli
76+
7777 - name : Build and push
78- uses : devcontainers/ci@v0.3
79- with :
80- subFolder : images/${{ needs.prepare.outputs.name }}
81- imageName : ${{ needs.prepare.outputs.image }}
82- imageTag : ${{ matrix.suffix }}
83- platform : ${{ matrix.platform }}
84- push : always
78+ run : |
79+ devcontainer build \
80+ --workspace-folder images/${{ needs.prepare.outputs.name }} \
81+ --image-name ${{ needs.prepare.outputs.image }}:${{ matrix.suffix }} \
82+ --platform ${{ matrix.platform }} \
83+ --push
8584
8685 manifest :
8786 needs : [prepare, build]
You can’t perform that action at this time.
0 commit comments