Compare commits
10 Commits
837f55ca8f
...
019484a49d
Author | SHA1 | Date | |
---|---|---|---|
019484a49d | |||
c2037806bc | |||
6e09e62fd6 | |||
ff67316f6e | |||
d6a585da5f | |||
3224edb067 | |||
34da1ade12 | |||
06ecbe3e28 | |||
6a333dfe3f | |||
ce15c45889 |
12
.gitea/workflows/container.yaml
Normal file
12
.gitea/workflows/container.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
name: Build Multiarch Container Image
|
||||
on: [push]
|
||||
jobs:
|
||||
call-reusable-workflow:
|
||||
uses: container/multiarch-build-workflow/.gitea/workflows/build.yaml@main
|
||||
with:
|
||||
repository: ${{ gitea.repository }}
|
||||
ref_name: ${{ gitea.ref_name }}
|
||||
sha: ${{ gitea.sha }}
|
||||
registry_url: ${{ secrets.REGISTRY_URL }}
|
||||
registry_user: ${{ secrets.REGISTRY_USER }}
|
||||
registry_pw: ${{ secrets.REGISTRY_PW }}
|
@ -1,18 +0,0 @@
|
||||
variables:
|
||||
CONTAINER_NAME: thallian/rspamd
|
||||
|
||||
build:
|
||||
stage: build
|
||||
image:
|
||||
name: gcr.io/kaniko-project/executor:debug
|
||||
entrypoint: [""]
|
||||
script:
|
||||
- mkdir -p /kaniko/.docker
|
||||
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$(printf "%s:%s" "$CI_REGISTRY_USER" "$CI_REGISTRY_PASSWORD" | base64 | tr -d '\n')\"}}}" > /kaniko/.docker/config.json
|
||||
- >-
|
||||
/kaniko/executor
|
||||
--context "$CI_PROJECT_DIR"
|
||||
--dockerfile "$CI_PROJECT_DIR/Dockerfile"
|
||||
--destination "$CONTAINER_NAME:$CI_COMMIT_SHA"
|
||||
--destination "$CONTAINER_NAME:$CI_COMMIT_REF_NAME"
|
||||
--destination "$CONTAINER_NAME:latest"
|
@ -1,4 +1,4 @@
|
||||
FROM thallian/confd-env:latest
|
||||
FROM docker.io/thallian/confd-env:3.19-3.1.6.2
|
||||
|
||||
RUN apk --no-cache add \
|
||||
rspamd \
|
@ -4,3 +4,4 @@
|
||||
|
||||
path = "/var/lib/rspamd/dkim/$domain.$selector.key";
|
||||
selector_map = "/etc/rspamd/dkim_selectors.map";
|
||||
allow_username_mismatch = true;
|
||||
|
7
rootfs/etc/rspamd/local.d/settings.conf
Normal file
7
rootfs/etc/rspamd/local.d/settings.conf
Normal file
@ -0,0 +1,7 @@
|
||||
authenticated {
|
||||
priority = high;
|
||||
authenticated = yes;
|
||||
apply {
|
||||
groups_disabled = ["rbl", "spf"];
|
||||
}
|
||||
}
|
1
rootfs/etc/rspamd/local.d/spf.conf
Normal file
1
rootfs/etc/rspamd/local.d/spf.conf
Normal file
@ -0,0 +1 @@
|
||||
disable_ipv6 = false;
|
1
rootfs/etc/rspamd/local.d/worker-proxy.inc
Normal file
1
rootfs/etc/rspamd/local.d/worker-proxy.inc
Normal file
@ -0,0 +1 @@
|
||||
bind_socket = "0.0.0.0:11332";
|
1
rootfs/etc/rspamd/override.d/options.inc
Normal file
1
rootfs/etc/rspamd/override.d/options.inc
Normal file
@ -0,0 +1 @@
|
||||
local_addrs = ["127.0.0.1"];
|
Loading…
Reference in New Issue
Block a user