Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/sycl-rel-container.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI sycl-rel container

on:
workflow_dispatch:
pull_request:
paths:
- 'devops/actions/build_container/**'
- 'devops/containers/release_build.DockerFile'
- 'devops/scripts/create-sycl-user.sh'
- '.github/workflows/sycl-rel-container.yaml'

permissions: read-all

jobs:
build_and_push_images:
if: github.repository == 'intel/llvm'
name: Build and Push Docker Images
runs-on: [Linux, build]
permissions:
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
sparse-checkout: devops

- name: Build and Push Container
uses: ./devops/actions/build_container
with:
push: ${{ github.event_name != 'pull_request' }}
file: release_build
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
tags: |
ghcr.io/${{ github.repository }}/release_build:latest-${{ github.sha }}
ghcr.io/${{ github.repository }}/release_build:latest
Loading