File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI sycl-rel container
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ pull_request :
6
+ paths :
7
+ - ' devops/actions/build_container/**'
8
+ - ' devops/containers/release_build.DockerFile'
9
+ - ' devops/scripts/create-sycl-user.sh'
10
+ - ' .github/workflows/sycl-rel-container.yaml'
11
+
12
+ permissions : read-all
13
+
14
+ jobs :
15
+ build_and_push_images :
16
+ if : github.repository == 'intel/llvm'
17
+ name : Build and Push Docker Images
18
+ runs-on : [Linux, build]
19
+ permissions :
20
+ packages : write
21
+ steps :
22
+ - name : Checkout
23
+ uses : actions/checkout@v4
24
+ with :
25
+ sparse-checkout : devops
26
+
27
+ - name : Build and Push Container
28
+ uses : ./devops/actions/build_container
29
+ with :
30
+ push : ${{ github.event_name != 'pull_request' }}
31
+ file : release_build
32
+ username : ${{ github.repository_owner }}
33
+ password : ${{ secrets.GITHUB_TOKEN }}
34
+ tags : |
35
+ ghcr.io/${{ github.repository }}/release_build:latest-${{ github.sha }}
36
+ ghcr.io/${{ github.repository }}/release_build:latest
You can’t perform that action at this time.
0 commit comments