Skip to content

Commit 6ea5c44

Browse files
Fix docker building
1 parent 0fd7c5e commit 6ea5c44

File tree

1 file changed

+27
-10
lines changed

1 file changed

+27
-10
lines changed

.github/workflows/sycl-containers.yaml

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ permissions: read-all
2828
jobs:
2929
# First build "Base" and "Build" images
3030
build_and_push_non_intel_images:
31-
if: github.repository == 'intel/llvm'
31+
# if: github.repository == 'intel/llvm'
32+
if: false
3233
name: "Containers"
3334
runs-on: ubuntu-latest
3435
permissions:
@@ -73,22 +74,22 @@ jobs:
7374
# Note: Building these images on PR means using old "Base" and "Build" images,
7475
# as the ones above were not yet pushed.
7576
build_and_push_intel_images:
76-
needs: build_and_push_non_intel_images
77+
# needs: build_and_push_non_intel_images
7778
name: "Containers"
7879
runs-on: ubuntu-latest
7980
permissions:
8081
packages: write
8182
strategy:
8283
matrix:
8384
include:
84-
- name: Intel Drivers Ubuntu 22.04 Docker image
85-
file: ubuntu2204_intel_drivers
86-
tag: latest
87-
build_args: ""
88-
- name: Intel Drivers Ubuntu 24.04 Docker image
89-
file: ubuntu2404_intel_drivers
90-
tag: latest
91-
build_args: ""
85+
# - name: Intel Drivers Ubuntu 22.04 Docker image
86+
# file: ubuntu2204_intel_drivers
87+
# tag: latest
88+
# build_args: ""
89+
# - name: Intel Drivers Ubuntu 24.04 Docker image
90+
# file: ubuntu2404_intel_drivers
91+
# tag: latest
92+
# build_args: ""
9293
- name: Build + Intel Drivers Ubuntu 22.04 Docker image
9394
file: ubuntu2204_intel_drivers
9495
tag: alldeps
@@ -102,6 +103,22 @@ jobs:
102103
base_image=ghcr.io/intel/llvm/ubuntu2404_build
103104
base_tag=latest
104105
steps:
106+
- name: Cleanup 1
107+
run: |
108+
df -hT
109+
rm -rf /opt/hostedtoolcache
110+
df -hT
111+
112+
- name: Cleanup 2
113+
run: |
114+
docker system prune -af
115+
docker builder prune -af
116+
df -hT
117+
wget https://raw.githubusercontent.com/apache/flink/refs/heads/master/tools/azure-pipelines/free_disk_space.sh
118+
chmod +x free_disk_space.sh
119+
./free_disk_space.sh
120+
df -hT
121+
105122
- name: Checkout
106123
uses: actions/checkout@v5
107124
with:

0 commit comments

Comments
 (0)