Compare commits
5 commits
7e51f789f4
...
21af26fa35
Author | SHA1 | Date | |
---|---|---|---|
|
21af26fa35 | ||
|
0169b8568f | ||
|
b882e870f4 | ||
|
dcf07f90e7 | ||
|
4aa380ee62 |
2 changed files with 16 additions and 16 deletions
|
@ -1,25 +1,23 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
publish:
|
publish:
|
||||||
image: plugins/docker
|
image: "plugins/docker"
|
||||||
settings:
|
settings:
|
||||||
registry: registry.nulo.in
|
registry: "registry.nulo.in"
|
||||||
username: sutty
|
username: "sutty"
|
||||||
repo: registry.nulo.in/sutty/postfix
|
repo: "registry.nulo.in/sutty/postfix"
|
||||||
tags:
|
tags:
|
||||||
- ${ALPINE_VERSION}
|
- "${ALPINE_VERSION}"
|
||||||
- latest
|
- "latest"
|
||||||
build_args:
|
build_args:
|
||||||
- ALPINE_VERSION=${ALPINE_VERSION}
|
- "ALPINE_VERSION=${ALPINE_VERSION}"
|
||||||
- POSTFIX_VERSION=${POSTFIX_VERSION}
|
- "POSTFIX_VERSION=${POSTFIX_VERSION}"
|
||||||
- BASE_IMAGE=registry.nulo.in/sutty/monit
|
- "BASE_IMAGE=registry.nulo.in/sutty/monit"
|
||||||
secrets:
|
secrets:
|
||||||
- docker_password
|
- "docker_password"
|
||||||
when:
|
when:
|
||||||
branch: antifascista
|
branch: "antifascista"
|
||||||
event: push
|
event: "push"
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- ALPINE_VERSION: 3.17.0
|
- ALPINE_VERSION: "3.17.1"
|
||||||
POSTFIX_VERSION: 3.7.3
|
POSTFIX_VERSION: "3.7.3"
|
||||||
- ALPINE_VERSION: 3.16.3
|
|
||||||
POSTFIX_VERSION: 3.7.3
|
|
||||||
|
|
|
@ -16,6 +16,8 @@ case $1 in
|
||||||
if test -n "${SRS}"; then
|
if test -n "${SRS}"; then
|
||||||
postconf -e sender_canonical_maps=tcp:${SRS}:10001
|
postconf -e sender_canonical_maps=tcp:${SRS}:10001
|
||||||
postconf -e recipient_canonical_maps=tcp:${SRS}:10002
|
postconf -e recipient_canonical_maps=tcp:${SRS}:10002
|
||||||
|
postconf -e sender_canonical_classes=envelope_sender
|
||||||
|
postconf -e recipient_canonical_classes=envelope_recipient,header_recipient
|
||||||
fi
|
fi
|
||||||
|
|
||||||
test -n "${NETWORKS}" && postconf -e mynetworks="${NETWORKS}"
|
test -n "${NETWORKS}" && postconf -e mynetworks="${NETWORKS}"
|
||||||
|
|
Loading…
Reference in a new issue