Skip to content

Commit

Permalink
cloudbuild: update protoc version to v3.15.4 (#9)
Browse files Browse the repository at this point in the history
* cloudbuild: update protoc version to v3.15.4

- https://github.com/protocolbuffers/protobuf/releases/tag/v3.15.4

* cloudbuild: sort flags and add --log-timestamp flag
  • Loading branch information
zchee authored Apr 4, 2021
1 parent 5e425a2 commit 7269e47
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Supported:
- [v3.15.1](https://github.com/protocolbuffers/protobuf/releases/v3.15.1)
- [v3.15.2](https://github.com/protocolbuffers/protobuf/releases/v3.15.2)
- [v3.15.3](https://github.com/protocolbuffers/protobuf/releases/v3.15.3)
- [v3.15.4](https://github.com/protocolbuffers/protobuf/releases/v3.15.4)

See also [protocolbuffers/protobuf/releases][protocolbuffers/protobuf/releases].

Expand Down
14 changes: 9 additions & 5 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ steps:
- --dockerfile=Dockerfile
- --context=dir:///workspace
- --reproducible
- --log-timestamp
- --skip-unused-stages=true
- --use-new-run
- --target=protoc
- --use-new-run
- --build-arg=PROTOC_VERSION=${_PROTOC_VERSION}
- --build-arg=GOLANG_VERSION=${_GOLANG_VERSION}
- --build-arg=ALPINE_VERSION=${_ALPINE_VERSION}
Expand All @@ -27,9 +28,10 @@ steps:
- --dockerfile=Dockerfile
- --context=dir:///workspace
- --reproducible
- --log-timestamp
- --skip-unused-stages=true
- --use-new-run
- --target=protoc-debug
- --use-new-run
- --build-arg=PROTOC_VERSION=${_PROTOC_VERSION}
- --build-arg=GOLANG_VERSION=${_GOLANG_VERSION}
- --build-arg=ALPINE_VERSION=${_ALPINE_VERSION}
Expand All @@ -46,9 +48,10 @@ steps:
- --dockerfile=Dockerfile
- --context=dir:///workspace
- --reproducible
- --log-timestamp
- --skip-unused-stages=true
- --use-new-run
- --target=golang
- --use-new-run
- --build-arg=PROTOC_VERSION=${_PROTOC_VERSION}
- --build-arg=GOLANG_VERSION=${_GOLANG_VERSION}
- --build-arg=ALPINE_VERSION=${_ALPINE_VERSION}
Expand All @@ -68,9 +71,10 @@ steps:
- --dockerfile=Dockerfile
- --context=dir:///workspace
- --reproducible
- --log-timestamp
- --skip-unused-stages=true
- --use-new-run
- --target=golang-debug
- --use-new-run
- --build-arg=PROTOC_VERSION=${_PROTOC_VERSION}
- --build-arg=GOLANG_VERSION=${_GOLANG_VERSION}
- --build-arg=ALPINE_VERSION=${_ALPINE_VERSION}
Expand All @@ -80,7 +84,7 @@ steps:
- protoc-debug

substitutions:
_PROTOC_VERSION: "3.15.3"
_PROTOC_VERSION: "3.15.4"
_GOLANG_VERSION: "1.16"
_ALPINE_VERSION: "3.13"
_PROTOC_GEN_GO_VERSION: "v1.25.0"
Expand Down

0 comments on commit 7269e47

Please sign in to comment.