Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit ab9dab5

Browse files
authored
feat: add Helm chart (#2)
1 parent 25dc5cc commit ab9dab5

30 files changed

+4425
-1
lines changed

.github/workflows/release.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
3+
name: Release Charts
4+
5+
on:
6+
push:
7+
branches:
8+
- main
9+
10+
jobs:
11+
release:
12+
permissions:
13+
contents: write
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
21+
- name: Configure Git
22+
run: |
23+
git config user.name "$GITHUB_ACTOR"
24+
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
25+
26+
- name: Run chart-releaser
27+
uses: helm/chart-releaser-action@v1.7.0
28+
env:
29+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/test.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
3+
name: Test Helm charts
4+
5+
on:
6+
pull_request:
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v3
14+
with:
15+
fetch-depth: 0
16+
17+
- uses: azure/setup-helm@v4.2.0
18+
with:
19+
version: v3.17.0
20+
21+
- uses: actions/setup-python@v5.3.0
22+
with:
23+
python-version: '3.x'
24+
check-latest: true
25+
26+
- uses: helm/chart-testing-action@v2.7.0
27+
28+
- name: Run chart-testing (list-changed)
29+
id: list-changed
30+
run: |
31+
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
32+
if [[ -n "$changed" ]]; then
33+
echo "changed=true" >> "$GITHUB_OUTPUT"
34+
fi
35+
36+
- name: Run chart-testing (lint)
37+
if: steps.list-changed.outputs.changed == 'true'
38+
run: ct lint --target-branch ${{ github.event.repository.default_branch }}
39+
40+
# - name: Create kind cluster
41+
# uses: helm/kind-action@v1.12.0
42+
43+
# - name: Run chart-testing (install)
44+
# run: ct install --chart-dirs=manifests

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
values-test.yaml
2+
values-prod.yaml

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# mailserver-charts
2-
Contains Helm charts for docker-mailserver
2+
Contains Helm charts for [docker-mailserver](https://github.com/jeboehm/docker-mailserver).
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*.orig
18+
*~
19+
# Various IDEs
20+
.project
21+
.idea/
22+
*.tmproj
23+
.vscode/
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
dependencies:
2+
- name: redis
3+
repository: oci://registry-1.docker.io/bitnamicharts
4+
version: 20.7.0
5+
- name: mariadb
6+
repository: oci://registry-1.docker.io/bitnamicharts
7+
version: 20.2.2
8+
- name: common
9+
repository: oci://registry-1.docker.io/bitnamicharts
10+
version: 2.29.1
11+
digest: sha256:a942f7f99a34ba19220e248dfa166f009e375fefc217b70c47c851594af9d320
12+
generated: "2025-02-11T17:17:41.339743+01:00"
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
annotations:
3+
category: Mail
4+
licenses: MIT
5+
images: |
6+
- name: mailserver-mta
7+
image: docker.io/jeboehm/mailserver-mta:latest
8+
- name: mailserver-mda
9+
image: docker.io/jeboehm/mailserver-mda:latest
10+
- name: mailserver-filter
11+
image: docker.io/jeboehm/mailserver-filter:latest
12+
- name: mailserver-web
13+
image: docker.io/jeboehm/mailserver-web:latest
14+
- name: mailserver-virus
15+
image: docker.io/jeboehm/mailserver-virus:latest
16+
- name: redis
17+
image: docker.io/bitnami/redis:latest
18+
apiVersion: v2
19+
dependencies:
20+
- condition: redis.enabled
21+
name: redis
22+
repository: oci://registry-1.docker.io/bitnamicharts
23+
version: 20.x.x
24+
- condition: mariadb.enabled
25+
name: mariadb
26+
repository: oci://registry-1.docker.io/bitnamicharts
27+
version: 20.x.x
28+
- name: common
29+
repository: oci://registry-1.docker.io/bitnamicharts
30+
tags: [bitnami-common]
31+
version: 2.x.x
32+
description: Docker Mailserver based on the famous ISPMail guide. All images are based
33+
on Alpine Linux and are so small as possible.
34+
home: https://github.com/jeboehm/docker-mailserver
35+
keywords: [postfix, dovecot, mail, mailserver, smtp, imap]
36+
maintainers:
37+
- name: jeboehm
38+
name: docker-mailserver
39+
sources: [https://github.com/jeboehm/docker-mailserver]
40+
version: 0.0.1
16.3 KB
Binary file not shown.
61.4 KB
Binary file not shown.
104 KB
Binary file not shown.

0 commit comments

Comments
 (0)