Skip to content

Commit 6586b28

Browse files
committed
fix(ci): allow execution in ROCm build cache
Signed-off-by: AlpinDale <alpindale@gmail.com>
1 parent a646aa2 commit 6586b28

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/scripts/ensure_rocm_builder.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ container_ports="$(
3636
if [[ -n "$container_args" ]] &&
3737
{ [[ "$container_args" != *"tcp://0.0.0.0:1234"* ]] ||
3838
[[ "$container_args" != *"--oci-worker-gc=false"* ]] ||
39-
[[ "$container_mounts" != *"\"${builder_state_dir}\""* ]] ||
39+
[[ "$container_mounts" != *"\"${builder_state_dir}\":\"rw,exec,"* ]] ||
4040
[[ "$container_ports" != *"${builder_port}"* ]]; }; then
4141
docker --host "$control_host" rm --force "$container_name" >/dev/null
4242
container_args=""
@@ -48,7 +48,7 @@ if [[ -z "$container_args" ]]; then
4848
--security-opt seccomp=unconfined \
4949
--security-opt apparmor=unconfined \
5050
--publish "${builder_port}:1234" \
51-
--tmpfs "${builder_state_dir}:rw,size=${cache_size},mode=1777" \
51+
--tmpfs "${builder_state_dir}:rw,exec,size=${cache_size},mode=1777" \
5252
moby/buildkit:rootless \
5353
--oci-worker-no-process-sandbox \
5454
--oci-worker-gc=false \

0 commit comments

Comments
 (0)