@@ -2,58 +2,59 @@ version: '3'
2
2
3
3
services :
4
4
tools :
5
- image : olegbalunenko/go-tools:${GOTOOLS_IMAGE_TAG:-latest}
5
+ image : ghcr.io/obalunenko/go-tools:${GOTOOLS_IMAGE_TAG:-latest}
6
+ working_dir : /app/
6
7
volumes :
7
8
- ../../:/app/
8
9
9
10
fix-imports :
10
11
extends :
11
12
service : tools
12
- entrypoint : /bin/sh -c 'cd /app/ && /app /scripts/style/fix-imports.sh'
13
+ entrypoint : /bin/sh -c '. /scripts/style/fix-imports.sh'
13
14
14
15
fix-fmt :
15
16
extends :
16
17
service : tools
17
- entrypoint : /bin/sh -c 'cd /app/ &&/app /scripts/style/fmt.sh'
18
+ entrypoint : /bin/sh -c '. /scripts/style/fmt.sh'
18
19
19
20
run-tests :
20
21
extends :
21
22
service : tools
22
- entrypoint : /bin/sh -c 'cd /app/ &&/app /scripts/tests/run.sh'
23
+ entrypoint : /bin/sh -c '. /scripts/tests/run.sh'
23
24
24
25
run-tests-regression :
25
26
extends :
26
27
service : tools
27
28
environment :
28
29
AOC_SESSION : ${AOC_SESSION}
29
- entrypoint : /bin/sh -c 'cd /app/ &&/app /scripts/tests/run-regression.sh'
30
+ entrypoint : /bin/sh -c '. /scripts/tests/run-regression.sh'
30
31
31
32
run-tests-coverage :
32
33
extends :
33
34
service : tools
34
- entrypoint : /bin/sh -c 'cd /app/ && /app /scripts/tests/coverage.sh'
35
+ entrypoint : /bin/sh -c '. /scripts/tests/coverage.sh'
35
36
36
37
update-readme-coverage :
37
38
extends :
38
39
service : tools
39
- entrypoint : /bin/sh -c 'cd /app/ && /app /scripts/update-readme-coverage.sh'
40
+ entrypoint : /bin/sh -c '. /scripts/update-readme-coverage.sh'
40
41
41
42
lint-full :
42
43
extends :
43
44
service : tools
44
- entrypoint : /bin/sh -c 'cd /app/ && /app /scripts/linting/run-linters.sh'
45
+ entrypoint : /bin/sh -c '. /scripts/linting/run-linters.sh'
45
46
46
47
lint-pipeline :
47
48
extends :
48
49
service : tools
49
- entrypoint : /bin/sh -c 'cd /app/ && /app /scripts/linting/golangci-pipeline.sh'
50
+ entrypoint : /bin/sh -c '. /scripts/linting/golangci-pipeline.sh'
50
51
51
52
lint-sonar :
52
53
extends :
53
54
service : tools
54
- entrypoint : /bin/sh -c 'cd /app/ && /app /scripts/linting/golangci-sonar.sh'
55
+ entrypoint : /bin/sh -c '. /scripts/linting/golangci-sonar.sh'
55
56
56
57
go-generate :
57
58
extends :
58
59
service : tools
59
- entrypoint : /bin/sh -c 'cd /app/ && /app /scripts/codegen/go-generate.sh'
60
+ entrypoint : /bin/sh -c '. /scripts/codegen/go-generate.sh'
0 commit comments