Skip to content

Commit eba6f77

Browse files
committed
Include oras in image builder
Signed-off-by: Prabhu Subramanian <[email protected]>
1 parent b132b2d commit eba6f77

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/image-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
- name: Set up Docker Buildx
2626
if: ${{ ! inputs.runner }}
2727
uses: docker/setup-buildx-action@v3
28+
- uses: oras-project/setup-oras@v1
2829
- name: QEMU workaround
2930
if: ${{ fromJSON(inputs.image).fix-qemu }}
3031
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes -c yes

lib/managers/docker.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ export const stripAbsolutePath = (path) => {
8484
* Detect colima
8585
*/
8686
export function detectColima() {
87+
if (isColima) {
88+
return true;
89+
}
8790
if (_platform() === "darwin") {
8891
const result = spawnSync("colima", ["version"], {
8992
encoding: "utf-8",

types/lib/managers/docker.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)