Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d8e6bd3

Browse files
committed
Remove -it flag from docker run command
Although useful when used locally, when run in the headless GitHub Actions runner environment, this causes the command to fail: the input device is not a TTY
1 parent a4b227d commit d8e6bd3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

‎DistTasks.yml‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ tasks:
1818
dir: "{{ .DIST_DIR }}"
1919
cmds:
2020
- |
21-
docker run -it -v `pwd`/..:/home/lint -w /home/lint \
21+
docker run -v `pwd`/..:/home/lint -w /home/lint \
2222
-e CGO_ENABLED=1 \
2323
{{ .CONTAINER }}:{{ .CONTAINER_TAG }} \
2424
--build-cmd "{{ .BUILD_COMMAND }}" \
@@ -40,7 +40,7 @@ tasks:
4040
dir: "{{ .DIST_DIR }}"
4141
cmds:
4242
- |
43-
docker run -it -v `pwd`/..:/home/lint -w /home/lint \
43+
docker run -v `pwd`/..:/home/lint -w /home/lint \
4444
-e CGO_ENABLED=1 \
4545
{{ .CONTAINER }}:{{ .CONTAINER_TAG }} \
4646
--build-cmd "{{ .BUILD_COMMAND }}" \
@@ -62,7 +62,7 @@ tasks:
6262
dir: "{{ .DIST_DIR }}"
6363
cmds:
6464
- |
65-
docker run -it -v `pwd`/..:/home/lint -w /home/lint \
65+
docker run -v `pwd`/..:/home/lint -w /home/lint \
6666
-e CGO_ENABLED=1 \
6767
{{ .CONTAINER }}:{{ .CONTAINER_TAG }} \
6868
--build-cmd "{{ .BUILD_COMMAND }}" \
@@ -84,7 +84,7 @@ tasks:
8484
dir: "{{ .DIST_DIR }}"
8585
cmds:
8686
- |
87-
docker run -it -v `pwd`/..:/home/lint -w /home/lint \
87+
docker run -v `pwd`/..:/home/lint -w /home/lint \
8888
-e CGO_ENABLED=1 \
8989
{{ .CONTAINER }}:{{ .CONTAINER_TAG }} \
9090
--build-cmd "{{ .BUILD_COMMAND }}" \
@@ -106,7 +106,7 @@ tasks:
106106
dir: "{{ .DIST_DIR }}"
107107
cmds:
108108
- |
109-
docker run -it -v `pwd`/..:/home/lint -w /home/lint \
109+
docker run -v `pwd`/..:/home/lint -w /home/lint \
110110
-e CGO_ENABLED=1 \
111111
{{ .CONTAINER }}:{{ .CONTAINER_TAG }} \
112112
--build-cmd "{{ .BUILD_COMMAND }}" \
@@ -128,7 +128,7 @@ tasks:
128128
dir: "{{ .DIST_DIR }}"
129129
cmds:
130130
- |
131-
docker run -it -v `pwd`/..:/home/lint -w /home/lint \
131+
docker run -v `pwd`/..:/home/lint -w /home/lint \
132132
-e CGO_ENABLED=1 \
133133
{{ .CONTAINER }}:{{ .CONTAINER_TAG }} \
134134
--build-cmd "{{ .BUILD_COMMAND }}" \
@@ -150,7 +150,7 @@ tasks:
150150
dir: "{{ .DIST_DIR }}"
151151
cmds:
152152
- |
153-
docker run -it -v `pwd`/..:/home/lint -w /home/lint \
153+
docker run -v `pwd`/..:/home/lint -w /home/lint \
154154
-e CGO_ENABLED=1 \
155155
{{ .CONTAINER }}:{{ .CONTAINER_TAG }} \
156156
--build-cmd "{{ .BUILD_COMMAND }}" \
@@ -172,7 +172,7 @@ tasks:
172172
dir: "{{ .DIST_DIR }}"
173173
cmds:
174174
- |
175-
docker run -it -v `pwd`/..:/home/lint -w /home/lint \
175+
docker run -v `pwd`/..:/home/lint -w /home/lint \
176176
-e CGO_ENABLED=1 \
177177
{{ .CONTAINER }}:{{ .CONTAINER_TAG }} \
178178
--build-cmd "{{ .BUILD_COMMAND }}" \

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /