Skip to content

Commit fec2ab8

Browse files
authored
feat(docker): muti build for Helm
1 parent c71fc01 commit fec2ab8

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

.github/workflows/ci_docker.yaml

+26-3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ env:
1414
jobs:
1515
docker:
1616
runs-on: ubuntu-latest
17+
strategy:
18+
matrix:
19+
include:
20+
- helm: 3.5.4
21+
docker_tag: helm-3.5
22+
- helm: 3.9.0
23+
docker_tag: helm-3.9
1724
steps:
1825

1926
- name: Check Out Repo
@@ -36,7 +43,7 @@ jobs:
3643

3744
-
3845
name: Build and push
39-
id: docker_build
46+
id: docker_build_latest
4047
uses: docker/build-push-action@v2
4148
with:
4249
push: true
@@ -46,6 +53,22 @@ jobs:
4653
build-args: |
4754
ansible_base_version=2.11-tools-0.39
4855
cidre_version=0.12.1
49-
helm_version=3.7.1
56+
helm_version=3.9.0
57+
keployr_version=1.0.7
58+
BUILDKIT_INLINE_CACHE=1
59+
60+
-
61+
name: Build and push
62+
id: docker_build
63+
uses: docker/build-push-action@v2
64+
with:
65+
push: true
66+
context: .
67+
tags: ${{ matrix.docker_tag }}-${{ steps.meta.outputs.tags }}
68+
labels: ${{ steps.meta.outputs.labels }}
69+
build-args: |
70+
ansible_base_version=2.11-tools-0.39
71+
cidre_version=0.12.1
72+
helm_version=${{ matrix.helm }}
5073
keployr_version=1.0.7
51-
BUILDKIT_INLINE_CACHE=1
74+
BUILDKIT_INLINE_CACHE=1

0 commit comments

Comments
 (0)