Skip to content

Commit 7fa42d4

Browse files
Update build.yaml
1 parent 32a79b0 commit 7fa42d4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,12 @@ jobs:
5555
with:
5656
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
5757
- name: Build image
58-
run: docker build . --file Dockerfile --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
58+
run: |
59+
devcontainer build \
60+
--workspace-folder . \
61+
--config .devcontainer/vm/devcontainer.json \
62+
--image-name $IMAGE_NAME
63+
# run: docker build . --file Dockerfile --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
5964
- name: Push image
6065
run: |
6166
IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME

0 commit comments

Comments
 (0)