forked from AlabamaWaterInstitute/CloudInfra
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create a workflow to build ngen image on PR that affects ngen or ngen…
…-deps
- Loading branch information
1 parent
8f1304c
commit ad37efe
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |