Skip to content

Commit 89b9851

Browse files
Include templating support (#382)
1 parent f2a5d6d commit 89b9851

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+101
-3667
lines changed

Diff for: .github/workflows/docker.yml

+6-40
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,19 @@
1-
name: Docker build & push
1+
name: Docker build
22

33
on:
44
pull_request:
5-
push:
6-
branches: master
7-
tags:
8-
- '*'
95

106
jobs:
11-
old-version:
7+
build:
128
runs-on: ubuntu-latest
13-
strategy:
14-
matrix:
15-
version: [ "1.0", "0.17", "0.16", "0.15", "0.14" ]
169
steps:
1710
- name: Checkout
1811
uses: actions/checkout@v2
19-
- name: build
12+
- name: Install dependencies
13+
run: pip install jinja2
14+
- name: build
2015
env:
2116
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
2217
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
23-
VERSION_SHORT: ${{ matrix.version }}
2418
run: |
25-
./build.sh ${{ matrix.version }}
26-
27-
stable:
28-
runs-on: ubuntu-latest
29-
steps:
30-
- name: Checkout
31-
uses: actions/checkout@v2
32-
- name: build
33-
env:
34-
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
35-
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
36-
EXTRA_TAG: stable,latest
37-
VERSION_SHORT: "1.1"
38-
run: |
39-
./build.sh $VERSION_SHORT
40-
41-
# experimental:
42-
# runs-on: ubuntu-latest
43-
# steps:
44-
# - name: Checkout
45-
# uses: actions/checkout@v2
46-
# - name: build
47-
# env:
48-
# DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
49-
# DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
50-
# EXTRA_TAG: latest
51-
# VERSION_SHORT: "1.2"
52-
# run: |
53-
# ./build.sh $VERSION_SHORT
19+
./build.py

Diff for: .github/workflows/docker_push.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Docker build & push
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
- name: Install dependencies
15+
run: pip install jinja2
16+
- name: build
17+
env:
18+
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
19+
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
20+
run: |
21+
./build.py --push-tags

Diff for: 0.14/Dockerfile

-26
This file was deleted.

Diff for: 0.14/build.sh

-2
This file was deleted.

Diff for: 0.14/clean.sh

-2
This file was deleted.

Diff for: 0.14/docker-entrypoint.sh

-35
This file was deleted.

Diff for: 0.14/run.sh

-6
This file was deleted.

Diff for: 0.15/Dockerfile

-30
This file was deleted.

Diff for: 0.15/docker-compose.yml

-8
This file was deleted.

Diff for: 0.15/docker-entrypoint.sh

-43
This file was deleted.

Diff for: 0.16/Dockerfile

-46
This file was deleted.

Diff for: 0.16/docker-compose.yml

-9
This file was deleted.

Diff for: 0.16/files/docker-entrypoint.sh

-62
This file was deleted.

0 commit comments

Comments
 (0)