Skip to content

Commit

Permalink
create a workflow to build ngen image on PR that affects ngen or ngen…
Browse files Browse the repository at this point in the history
…-deps
  • Loading branch information
hellkite500 committed Nov 22, 2023
1 parent 8f1304c commit ad37efe
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/docker_build_ngen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build and push ngen image
on:
pull_request:
branches: [ main, notreal ]
paths:
- 'docker/Dockerfile.ngen'
- 'docker/Dockerfile.ngen-deps'
workflow_dispatch:

jobs:
build:
runs-on: self-hosted
# For pull requests, it's not necessary to checkout code
permissions:
pull-requests: read
steps:
- name: Build ngen Docker image
uses: ./.github/action_templates/build-and-push
with:
image-name: "ngen"
dockerfile-name: "Dockerfile.ngen"

0 comments on commit ad37efe

Please sign in to comment.