Commit 25fc608
entrypoint: handle linux in pkgs/platforms
Without this, we can errors such as the following
ERROR failed to get CPU variant os=linux error="getCPUVariant for OS linux: not implemented"
could not find command for platform "linux/arm64"
The main reason for this is because we are missing the variant when
getting the platform, but the oci images for arm64 have it, and thus
`TEKTON_PLATFORM_COMMANDS` as well. It creates a mismatch, and the
entrypoint cannot find the command it looks for.
Signed-off-by: Vincent Demeester <vdemeest@redhat.com>1 parent 8f1210c commit 25fc608
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
124 | | - | |
| 125 | + | |
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
| |||
0 commit comments