Skip to content

Commit 1dd6ab9

Browse files
committed
Move build of container into matrix
1 parent 322349c commit 1dd6ab9

File tree

1 file changed

+7
-27
lines changed

1 file changed

+7
-27
lines changed

.github/workflows/sycl-containers.yaml

Lines changed: 7 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ jobs:
5151
file: ubuntu2204_intel_drivers
5252
tag: unstable
5353
build_args: "use_latest=true"
54+
- name: All Dependencies Docker image
55+
file: ubuntu2204_intel_drivers
56+
tag: alldeps
57+
build_args: |
58+
base_image=ghcr.io/intel/llvm/ubuntu2204_build
59+
base_tag=latest
60+
use_latest=false
5461
steps:
5562
- name: Checkout
5663
uses: actions/checkout@v4
@@ -67,30 +74,3 @@ jobs:
6774
ghcr.io/${{ github.repository }}/${{ matrix.file }}:${{ matrix.tag }}-${{ github.sha }}
6875
ghcr.io/${{ github.repository }}/${{ matrix.file }}:${{ matrix.tag }}
6976
build-args: ${{ matrix.build_args }}
70-
71-
build_all_deps_image:
72-
if: github.repository == 'intel/llvm'
73-
name: Build and Push Docker Image - Build With Drivers
74-
runs-on: ubuntu-22.04
75-
permissions:
76-
packages: write
77-
needs: build_and_push_images
78-
steps:
79-
- name: Checkout
80-
uses: actions/checkout@v4
81-
with:
82-
fetch-depth: 2
83-
- name: Build and Push Container
84-
uses: ./devops/actions/build_container
85-
with:
86-
push: ${{ github.event_name != 'pull_request' }}
87-
file: ubuntu2204_intel_drivers
88-
username: ${{ github.repository_owner }}
89-
password: ${{ secrets.GITHUB_TOKEN }}
90-
tags: |
91-
ghcr.io/${{ github.repository }}/ubuntu2204_alldeps:latest-${{ github.sha }}
92-
ghcr.io/${{ github.repository }}/ubuntu2204_alldeps:latest
93-
build-args: |
94-
base_image=ghcr.io/intel/llvm/ubuntu2204_build
95-
base_tag=latest
96-
use_latest=false

0 commit comments

Comments
 (0)