Skip to content

Commit 95b1a0e

Browse files
committed
cloudbuild: remove --allow=network.host and --network=host
Signed-off-by: Koichi Shiraishi <[email protected]>
1 parent abbed85 commit 95b1a0e

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

cloudbuild.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ steps:
2323
- --build-arg=PROTOC_VERSION=${_PROTOC_VERSION}
2424
- --build-arg=GOLANG_VERSION=${_GOLANG_VERSION}
2525
- --build-arg=ALPINE_VERSION=${_ALPINE_VERSION}
26-
- --allow=network.host
27-
- --network=host
2826
- .
2927
waitFor: ["docker"]
3028

@@ -39,8 +37,6 @@ steps:
3937
- --build-arg=GOLANG_VERSION=${_GOLANG_VERSION}
4038
- --build-arg=ALPINE_VERSION=${_ALPINE_VERSION}
4139
- --output=type=image,name=gcr.io/$PROJECT_ID/protoc/protoc:${_PROTOC_VERSION},push=false
42-
- --allow=network.host
43-
- --network=host
4440
- .
4541
waitFor:
4642
- "protoc-builder"
@@ -56,8 +52,6 @@ steps:
5652
- --build-arg=GOLANG_VERSION=${_GOLANG_VERSION}
5753
- --build-arg=ALPINE_VERSION=${_ALPINE_VERSION}
5854
- --output=type=image,name=gcr.io/$PROJECT_ID/protoc/protoc:${_PROTOC_VERSION}-debug,push=false
59-
- --allow=network.host
60-
- --network=host
6155
- .
6256
waitFor:
6357
- "protoc-builder"
@@ -74,8 +68,6 @@ steps:
7468
- --build-arg=ALPINE_VERSION=${_ALPINE_VERSION}
7569
- --build-arg=PROTOC_GEN_GO_VERSION=${_PROTOC_GEN_GO_VERSION}
7670
- --build-arg=PROTOC_GEN_GO_GRPC_VERSION=${_PROTOC_GEN_GO_GRPC_VERSION}
77-
- --allow=network.host
78-
- --network=host
7971
- .
8072
waitFor:
8173
- "protoc"
@@ -95,8 +87,6 @@ steps:
9587
- --build-arg=PROTOC_GEN_GO_GRPC_VERSION=${_PROTOC_GEN_GO_GRPC_VERSION}
9688
- --tag=gcr.io/$PROJECT_ID/protoc/golang:${_PROTOC_VERSION}-${_GOLANG_VERSION}
9789
- --tag=gcr.io/$PROJECT_ID/protoc/golang:${_PROTOC_VERSION}
98-
- --allow=network.host
99-
- --network=host
10090
- .
10191
waitFor:
10292
- "golang-builder"
@@ -115,8 +105,6 @@ steps:
115105
- --build-arg=PROTOC_GEN_GO_GRPC_VERSION=${_PROTOC_GEN_GO_GRPC_VERSION}
116106
- --tag=gcr.io/$PROJECT_ID/protoc/golang:${_PROTOC_VERSION}-${_GOLANG_VERSION}-debug
117107
- --tag=gcr.io/$PROJECT_ID/protoc/golang:${_PROTOC_VERSION}-debug
118-
- --allow=network.host
119-
- --network=host
120108
- .
121109
waitFor:
122110
- "golang-builder"

0 commit comments

Comments
 (0)