-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Without the explcit use of `platform`, the underlying library ends up using its own default (amd64). This is a problem for those running the resource in other architectures. To achieve that: - bumps `go-containerregistry` to make - sets `Platform` to the `{GOOS, GOARCH}` by default, allowing the possibility of having that set through a `platform` field in the resource config. Example: ```yaml resources: - type: registry-image name: busybox-arm source: repository: busybox platform: {os: linux, architecture: arm} ``` the original commit is modified based on Infinoid@39276ce Signed-off-by: Ciro S. Costa <[email protected]> Signed-off-by: Rui Yang <[email protected]>
- Loading branch information
Ciro S. Costa
authored and
Rui Yang
committed
Oct 21, 2022
1 parent
1989dd3
commit f1e022d
Showing
1 changed file
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters