Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: bokysan/docker-postfix
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: anarion80/docker-postfix
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 5 commits
  • 10 files changed
  • 2 contributors

Commits on Oct 3, 2024

  1. Add postfix-pgsql

    anarion80 authored Oct 3, 2024
    Copy the full SHA
    c5c141c View commit details
  2. 🧑‍💻 Update actions

    anarion80 committed Oct 3, 2024
    Copy the full SHA
    9673870 View commit details
  3. Copy the full SHA
    0282150 View commit details
  4. 💚 Disable release step

    anarion80 committed Oct 3, 2024
    Copy the full SHA
    c15678d View commit details

Commits on Oct 4, 2024

  1. ✨ Expose port 25

    anarion80 committed Oct 4, 2024
    Copy the full SHA
    69438d2 View commit details
2 changes: 1 addition & 1 deletion .github/actions/docker-hub-login/action.yaml
Original file line number Diff line number Diff line change
@@ -12,5 +12,5 @@ runs:
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: 'boky'
username: 'anarion'
password: '${{ inputs.DOCKER_ACCESS_TOKEN }}'
90 changes: 45 additions & 45 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@ name: Docker image
on:
push:
branches: [ 'master' ]
workflow_dispatch:

jobs:
Unit_Tests:
@@ -14,49 +15,49 @@ jobs:

- uses: ./.github/actions/unit-tests

Integration_Tests:
runs-on: ubuntu-latest
steps:
# Checkout
- name: Checkout
uses: actions/checkout@v4

- uses: ./.github/actions/integration-tests
with:
XOAUTH2_RELAYHOST_USERNAME: ${{ secrets.XOAUTH2_RELAYHOST_USERNAME }}
XOAUTH2_CLIENT_ID: ${{ secrets.XOAUTH2_CLIENT_ID }}
XOAUTH2_SECRET: ${{ secrets.XOAUTH2_SECRET }}
XOAUTH2_INITIAL_REFRESH_TOKEN: ${{ secrets.XOAUTH2_INITIAL_REFRESH_TOKEN }}

Helm_chart_Tests:
runs-on: ubuntu-latest
steps:
# Checkout
- name: Checkout
uses: actions/checkout@v4

- uses: ./.github/actions/helm-chart-tests

Build_PostfixExporter:
runs-on: ubuntu-latest
needs:
- Helm_chart_Tests
steps:
- name: Checkout
uses: actions/checkout@v4

- uses: ./.github/actions/build-postfix-exporter
with:
DOCKER_ACCESS_TOKEN: '${{ secrets.DOCKER_ACCESS_TOKEN }}'
tags: |
boky/postfix-exporter:latest
boky/postfix-exporter:edge
# Integration_Tests:
# runs-on: ubuntu-latest
# steps:
# # Checkout
# - name: Checkout
# uses: actions/checkout@v4

# - uses: ./.github/actions/integration-tests
# with:
# XOAUTH2_RELAYHOST_USERNAME: ${{ secrets.XOAUTH2_RELAYHOST_USERNAME }}
# XOAUTH2_CLIENT_ID: ${{ secrets.XOAUTH2_CLIENT_ID }}
# XOAUTH2_SECRET: ${{ secrets.XOAUTH2_SECRET }}
# XOAUTH2_INITIAL_REFRESH_TOKEN: ${{ secrets.XOAUTH2_INITIAL_REFRESH_TOKEN }}

# Helm_chart_Tests:
# runs-on: ubuntu-latest
# steps:
# # Checkout
# - name: Checkout
# uses: actions/checkout@v4

# - uses: ./.github/actions/helm-chart-tests

# Build_PostfixExporter:
# runs-on: ubuntu-latest
# needs:
# - Helm_chart_Tests
# steps:
# - name: Checkout
# uses: actions/checkout@v4

# - uses: ./.github/actions/build-postfix-exporter
# with:
# DOCKER_ACCESS_TOKEN: '${{ secrets.DOCKER_ACCESS_TOKEN }}'
# tags: |
# anarion/postfix-exporter:latest
# anarion/postfix-exporter:edge

Build_Alpine:
runs-on: ubuntu-latest
needs:
- Unit_Tests
- Integration_Tests
# - Integration_Tests
steps:
# Checkout
- name: Checkout
@@ -89,8 +90,8 @@ jobs:
context: .
push: true
tags: |
boky/postfix:edge
boky/postfix:edge-alpine
anarion/postfix:edge
anarion/postfix:edge-alpine
# linux/s390x: "rsyslog (no such package)"
# Latest Alpine does not have all the packages for 386 anymore. :-(
platforms: "linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/amd64,linux/arm64"
@@ -108,7 +109,7 @@ jobs:
runs-on: ubuntu-latest
needs:
- Unit_Tests
- Integration_Tests
# - Integration_Tests
steps:
# Checkout
- name: Checkout
@@ -136,7 +137,7 @@ jobs:
with:
context: .
push: true
tags: boky/postfix:edge-ubuntu
tags: anarion/postfix:edge-ubuntu
platforms: "linux/arm/v7,linux/amd64,linux/arm64,linux/ppc64le,linux/s390x"
cache-from: type=local,src=/tmp/.buildx-cache/ubuntu,mode=max,compression=estargz
cache-to: type=local,dest=/tmp/.buildx-cache-new/ubuntu
@@ -152,7 +153,7 @@ jobs:
runs-on: ubuntu-latest
needs:
- Unit_Tests
- Integration_Tests
# - Integration_Tests
steps:
# Checkout
- name: Checkout
@@ -180,7 +181,7 @@ jobs:
with:
context: .
push: true
tags: boky/postfix:edge-debian
tags: anarion/postfix:edge-debian
platforms: "linux/386,linux/arm/v5,linux/arm/v7,linux/arm64/v8,linux/amd64,linux/arm64,linux/mips64le,linux/ppc64le,linux/s390x"
cache-from: type=local,src=/tmp/.buildx-cache/debian,mode=max,compression=estargz
cache-to: type=local,dest=/tmp/.buildx-cache-new/debian
@@ -191,4 +192,3 @@ jobs:
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
46 changes: 23 additions & 23 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -14,35 +14,35 @@ jobs:

- uses: ./.github/actions/unit-tests

Integration_Tests:
runs-on: ubuntu-latest
steps:
# Checkout
- name: Checkout
uses: actions/checkout@v4
# Integration_Tests:
# runs-on: ubuntu-latest
# steps:
# # Checkout
# - name: Checkout
# uses: actions/checkout@v4

- uses: ./.github/actions/integration-tests
with:
XOAUTH2_RELAYHOST_USERNAME: ${{ secrets.XOAUTH2_RELAYHOST_USERNAME }}
XOAUTH2_CLIENT_ID: ${{ secrets.XOAUTH2_CLIENT_ID }}
XOAUTH2_SECRET: ${{ secrets.XOAUTH2_SECRET }}
XOAUTH2_INITIAL_REFRESH_TOKEN: ${{ secrets.XOAUTH2_INITIAL_REFRESH_TOKEN }}
# - uses: ./.github/actions/integration-tests
# with:
# XOAUTH2_RELAYHOST_USERNAME: ${{ secrets.XOAUTH2_RELAYHOST_USERNAME }}
# XOAUTH2_CLIENT_ID: ${{ secrets.XOAUTH2_CLIENT_ID }}
# XOAUTH2_SECRET: ${{ secrets.XOAUTH2_SECRET }}
# XOAUTH2_INITIAL_REFRESH_TOKEN: ${{ secrets.XOAUTH2_INITIAL_REFRESH_TOKEN }}

Helm_chart_Tests:
runs-on: ubuntu-latest
steps:
# Checkout
- name: Checkout
uses: actions/checkout@v4
# Helm_chart_Tests:
# runs-on: ubuntu-latest
# steps:
# # Checkout
# - name: Checkout
# uses: actions/checkout@v4

- uses: ./.github/actions/helm-chart-tests
# - uses: ./.github/actions/helm-chart-tests

Build_Alpine:
runs-on: ubuntu-latest
needs:
- Unit_Tests
- Integration_Tests
- Helm_chart_Tests
# - Integration_Tests
# - Helm_chart_Tests
steps:
# Checkout
- name: Checkout
@@ -70,8 +70,8 @@ jobs:
context: .
push: false
tags: |
boky/postfix:latest
boky/postfix:latest-alpine
anarion/postfix:latest
anarion/postfix:latest-alpine
platforms: "linux/amd64"
cache-from: type=local,src=/tmp/.buildx-cache/alpine

Loading