@@ -2,58 +2,59 @@ version: '3'
22
33services :
44 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/
67 volumes :
78 - ../../:/app/
89
910 fix-imports :
1011 extends :
1112 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'
1314
1415 fix-fmt :
1516 extends :
1617 service : tools
17- entrypoint : /bin/sh -c 'cd /app/ &&/app /scripts/style/fmt.sh'
18+ entrypoint : /bin/sh -c '. /scripts/style/fmt.sh'
1819
1920 run-tests :
2021 extends :
2122 service : tools
22- entrypoint : /bin/sh -c 'cd /app/ &&/app /scripts/tests/run.sh'
23+ entrypoint : /bin/sh -c '. /scripts/tests/run.sh'
2324
2425 run-tests-regression :
2526 extends :
2627 service : tools
2728 environment :
2829 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'
3031
3132 run-tests-coverage :
3233 extends :
3334 service : tools
34- entrypoint : /bin/sh -c 'cd /app/ && /app /scripts/tests/coverage.sh'
35+ entrypoint : /bin/sh -c '. /scripts/tests/coverage.sh'
3536
3637 update-readme-coverage :
3738 extends :
3839 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'
4041
4142 lint-full :
4243 extends :
4344 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'
4546
4647 lint-pipeline :
4748 extends :
4849 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'
5051
5152 lint-sonar :
5253 extends :
5354 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'
5556
5657 go-generate :
5758 extends :
5859 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