Skip to content

Commit

Permalink
Various fixes (#3083)
Browse files Browse the repository at this point in the history
* Fix protoc checksum

* Update docker image references

* Update bazel Go version
  • Loading branch information
johanbrandhorst committed Dec 21, 2022
1 parent 5304903 commit 1fb34b9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/renovate.yml
Expand Up @@ -8,7 +8,7 @@ name: renovate
jobs:
update_repositoriesbzl:
container:
image: docker.pkg.github.com/grpc-ecosystem/grpc-gateway/build-env:1.17
image: docker.pkg.github.com/grpc-ecosystem/grpc-gateway/build-env:1.19
options: "--user root"
credentials:
username: ${{ github.actor }}
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
fi
regenerate:
container:
image: docker.pkg.github.com/grpc-ecosystem/grpc-gateway/build-env:1.17
image: docker.pkg.github.com/grpc-ecosystem/grpc-gateway/build-env:1.19
options: "--user root"
credentials:
username: ${{ github.actor }}
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Expand Up @@ -11,12 +11,12 @@ All submissions, including submissions by project members, require review.
It should be as simple as this (run from the root of the repository):

```bash
docker run -v $(pwd):/grpc-gateway -w /grpc-gateway --rm ghcr.io/grpc-ecosystem/grpc-gateway/build-env:1.17 \
docker run -v $(pwd):/grpc-gateway -w /grpc-gateway --rm ghcr.io/grpc-ecosystem/grpc-gateway/build-env:1.19 \
/bin/bash -c 'make install && \
make clean && \
make generate'
docker run -itv $(pwd):/grpc-gateway -w /grpc-gateway --entrypoint /bin/bash --rm \
ghcr.io/grpc-ecosystem/grpc-gateway/build-env:1.17 -c '\
ghcr.io/grpc-ecosystem/grpc-gateway/build-env:1.19 -c '\
bazel run :gazelle -- update-repos -from_file=go.mod -to_macro=repositories.bzl%go_repositories && \
bazel run :gazelle && \
bazel run :buildifier'
Expand Down
4 changes: 2 additions & 2 deletions WORKSPACE
Expand Up @@ -6,7 +6,7 @@ load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
# Define before rules_proto, otherwise we receive the version of com_google_protobuf from there
http_archive(
name = "com_google_protobuf",
sha256 = "7d688f4af01570718d3908c3379a314117c900fd106e0cb3a004a04e4c018b4a",
sha256 = "930c2c3b5ecc6c9c12615cf5ad93f1cd6e12d0aba862b572e076259970ac3a53",
strip_prefix = "protobuf-3.21.12",
urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.21.12.tar.gz"],
)
Expand Down Expand Up @@ -60,7 +60,7 @@ load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_depe

go_rules_dependencies()

go_register_toolchains(version = "1.17.2")
go_register_toolchains(version = "1.19.4")

load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")

Expand Down

0 comments on commit 1fb34b9

Please sign in to comment.