File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -34,22 +34,20 @@ dockers:
34
34
- " contentsquareplatform/chproxy:{{ .Tag }}-amd64"
35
35
use : buildx
36
36
build_flag_templates :
37
- - " --build-arg=BINARY=chproxy "
37
+ - " --platform=linux/amd64 "
38
38
- goos : linux
39
39
goarch : arm64
40
40
image_templates :
41
41
- " contentsquareplatform/chproxy:{{ .Tag }}-arm64"
42
42
use : buildx
43
43
build_flag_templates :
44
- - " --build-arg=BINARY=chproxy"
45
44
- " --platform=linux/arm64"
46
45
- goos : linux
47
46
goarch : arm64
48
47
image_templates :
49
48
- " contentsquareplatform/chproxy:{{ .Tag }}-arm64v8"
50
49
use : buildx
51
50
build_flag_templates :
52
- - " --build-arg=BINARY=chproxy"
53
51
- " --platform=linux/arm64/v8"
54
52
55
53
snapshot :
Original file line number Diff line number Diff line change 1
1
FROM debian
2
2
3
- ARG BINARY
4
-
5
- COPY ${BINARY} /
3
+ COPY chproxy /
6
4
7
5
EXPOSE 9090
8
6
9
- ENTRYPOINT ["/${BINARY} " ]
7
+ ENTRYPOINT ["/chproxy " ]
10
8
CMD [ "--help" ]
You can’t perform that action at this time.
0 commit comments