Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
Update rules_docker to v0.20.0 (#669)
Browse files Browse the repository at this point in the history
  • Loading branch information
mishas authored Oct 19, 2021
1 parent e27fcaf commit d05cbea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
3 changes: 2 additions & 1 deletion k8s/go/pkg/resolver/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ func (r *Resolver) publishSingle(spec imageSpec, stamper *compat.Stamper) (strin
if err != nil {
return "", fmt.Errorf("unable to determine parts of the image from the specified arguments: %v", err)
}
img, err := compat.ReadImage(imgParts)
cr := compat.Reader{Parts: imgParts}
img, err := cr.ReadImage()
if err != nil {
return "", fmt.Errorf("error reading image: %v", err)
}
Expand Down
9 changes: 3 additions & 6 deletions k8s/k8s.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,9 @@ def k8s_repositories():
maybe(
http_archive,
name = "io_bazel_rules_docker",
sha256 = "efda18e39a63ee3c1b187b1349f61c48c31322bf84227d319b5dece994380bb6",
strip_prefix = "rules_docker-f929d80c5a4363994968248d87a892b1c2ef61d4",
# `master` as of 2021-04-25
urls = [
"https://github.com/bazelbuild/rules_docker/archive/f929d80c5a4363994968248d87a892b1c2ef61d4.tar.gz",
],
sha256 = "92779d3445e7bdc79b961030b996cb0c91820ade7ffa7edca69273f404b085d5",
strip_prefix = "rules_docker-0.20.0",
urls = ["https://github.com/bazelbuild/rules_docker/releases/download/v0.20.0/rules_docker-v0.20.0.tar.gz"],
)

maybe(
Expand Down

0 comments on commit d05cbea

Please sign in to comment.