File tree Expand file tree Collapse file tree 4 files changed +29
-2
lines changed Expand file tree Collapse file tree 4 files changed +29
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Docker Image CI
2
+
3
+
4
+ on :
5
+ push :
6
+ branches : [ main, develop, feature/* ]
7
+ pull_request :
8
+ branches : [ main ]
9
+
10
+ permissions : read-all
11
+
12
+ jobs :
13
+
14
+ build :
15
+ name : Build & Test in Docker
16
+
17
+ runs-on : ubuntu-latest
18
+
19
+ steps :
20
+ - uses : actions/checkout@v4
21
+ - name : Build the Docker image
22
+ run : make compose/rebuild
23
+ - name : Run test in Docker image
24
+ run : make compose/run
25
+ - name : Tag Docker image
26
+ run : docker tag algorithm-exercises-csharp:latest algorithm-exercises-csharp:${{ github.sha }}
27
+
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ FROM node:20.2.0-alpine3.16 AS lint
8
8
ENV WORKDIR=/app
9
9
WORKDIR ${WORKDIR}
10
10
11
- COPY ./src ${WORKDIR}/src
11
+ COPY ./docs ${WORKDIR}/docs
12
12
RUN apk add --update --no-cache make
13
13
RUN npm install -g --ignore-scripts markdownlint-cli
14
14
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ services:
12
12
profiles : ["testing"]
13
13
14
14
algorithm-exercises-csharp-mdlint :
15
- image : algorithm-exercises-ts :mdlint
15
+ image : algorithm-exercises-csharp :mdlint
16
16
build :
17
17
context : .
18
18
target : lint
You can’t perform that action at this time.
0 commit comments