Skip to content

Commit aec1a9b

Browse files
committed
Add initial jq-based templating engine
1 parent 56eb809 commit aec1a9b

31 files changed

+2193
-290
lines changed

.gitattributes

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/*/**/Dockerfile linguist-generated
2+
/*/**/docker-entrypoint.sh linguist-generated
3+
/Dockerfile*.template linguist-language=Dockerfile
+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Verify Templating
2+
3+
on:
4+
pull_request:
5+
push:
6+
7+
defaults:
8+
run:
9+
shell: 'bash -Eeuo pipefail -x {0}'
10+
11+
jobs:
12+
apply-templates:
13+
name: Check For Uncomitted Changes
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Apply Templates
18+
run: ./apply-templates.sh
19+
- name: Check Git Status
20+
run: |
21+
status="$(git status --short)"
22+
[ -z "$status" ]

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.jq-template.awk

10/alpine/Dockerfile

+11-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

12/Dockerfile 10/buster/Dockerfile

+13-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

10/Dockerfile 10/stretch/Dockerfile

+11-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

11/alpine/Dockerfile

+11-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)