Compare commits

..

5 commits

Author SHA1 Message Date
f
21af26fa35 fix: deprecate older versions
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-14 20:44:38 -03:00
f
0169b8568f Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista 2023-01-14 20:44:31 -03:00
f
b882e870f4 feat: recommended classes configuration 2023-01-14 20:43:25 -03:00
f
dcf07f90e7 refactor: use strings 2023-01-14 16:09:32 -03:00
f
4aa380ee62 feat: alpine 3.17.1 2023-01-14 16:08:15 -03:00
2 changed files with 16 additions and 16 deletions

View file

@ -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

View file

@ -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}"