Skip to content

Commit 5c6743b

Browse files
gbraadpraveenkumar
authored andcommitted
chore: refactor devcontainer workflow
1 parent c08e41a commit 5c6743b

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/verify-devcontainer.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,13 @@ on:
77
jobs:
88
verify-devcontainer:
99
runs-on: ubuntu-24.04
10+
container:
11+
image: registry.access.redhat.com/ubi9/go-toolset:latest
12+
options: --cpus 4
1013
steps:
11-
- name: Run `git clone` and `make cross` against devcontainer
12-
run: >
13-
podman run registry.access.redhat.com/ubi9/go-toolset:latest \
14-
sh -c "git clone https://github.com/crc-org/crc --depth 1 && cd crc && make cross"
14+
- name: Run `git clone`
15+
run: git clone https://github.com/crc-org/crc --depth 1
16+
- name: Run `make cross`
17+
run: |
18+
cd crc
19+
make cross

0 commit comments

Comments
 (0)