File tree Expand file tree Collapse file tree 3 files changed +31
-3
lines changed
Expand file tree Collapse file tree 3 files changed +31
-3
lines changed Original file line number Diff line number Diff line change 6262 push : true
6363 tags : ${{ steps.meta.outputs.tags }}
6464 labels : ${{ steps.meta.outputs.labels }}
65+
66+ - name : Create tags for publishing debug image
67+ id : meta-debug
68+ uses : docker/metadata-action@v5
69+ with :
70+ images : ghcr.io/${{ github.repository }}-debug
71+ tags : |
72+ type=ref,event=tag
73+ type=raw,value=latest
74+ - name : Push cached debug image to container registry
75+ if : inputs.publish && github.ref_type == 'tag'
76+ uses : docker/build-push-action@v6
77+ env :
78+ DOCKER_BUILD_RECORD_UPLOAD : false
79+ # This does not build the image again, it will find the image in the
80+ # Docker cache and publish it
81+ with :
82+ context : .
83+ push : true
84+ target : developer
85+ tags : ${{ steps.meta-debug.outputs.tags }}
86+ labels : ${{ steps.meta-debug.outputs.labels }}
Original file line number Diff line number Diff line change 1414 },
1515 "pathMappings" : [
1616 {
17- "localRoot" : " ${workspaceFolder}" ,
18- "remoteRoot" : " /venv/lib/python3.13 /site-packages/stdio_socket "
17+ "localRoot" : " ${workspaceFolder}/src/fastcs_example " ,
18+ "remoteRoot" : " /venv/lib/python3.11 /site-packages/fastcs_example/ "
1919 }
20- ]
20+ ],
21+ "justMyCode" : false
2122 },
2223 {
2324 "name" : " Debug Unit Test" ,
Original file line number Diff line number Diff line change @@ -6,9 +6,14 @@ FROM python:${PYTHON_VERSION} AS developer
66# Add any system dependencies for the developer/build environment here
77RUN apt-get update && apt-get install -y --no-install-recommends \
88 gdb \
9+ busybox \
910 graphviz \
1011 && rm -rf /var/lib/apt/lists/*
1112
13+ # Use busybox to provide any missing commands
14+ # This is useful for commands like `telnet` that are not available in the base image
15+ RUN busybox --install -s
16+
1217# Set up a virtual environment and put it in PATH
1318RUN python -m venv /venv
1419ENV PATH=/venv/bin:$PATH
You can’t perform that action at this time.
0 commit comments