mirror of
https://github.com/bokysan/docker-postfix.git
synced 2024-09-20 06:46:10 +08:00
Fix: Update logrorate build
This commit is contained in:
parent
6da38c0d4e
commit
5fb369a82f
14
.github/actions/build-logrotate/action.yaml
vendored
14
.github/actions/build-logrotate/action.yaml
vendored
|
@ -1,6 +1,14 @@
|
||||||
name: 'Build the logrotate'
|
name: 'Build the logrotate'
|
||||||
description: 'Build the latest version of logrotate'
|
description: 'Build the latest version of logrotate'
|
||||||
|
|
||||||
|
inputs:
|
||||||
|
DOCKER_ACCESS_TOKEN:
|
||||||
|
description: 'DOCKER_ACCESS_TOKEN'
|
||||||
|
required: true
|
||||||
|
tags:
|
||||||
|
description: 'Docker image tags'
|
||||||
|
required: true
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
|
@ -11,6 +19,12 @@ runs:
|
||||||
path: 'logrotate'
|
path: 'logrotate'
|
||||||
ref: 'fdab0abc0b3f2917052e5d509e14e2b71d7fd9b3' # Latest commit we know that works
|
ref: 'fdab0abc0b3f2917052e5d509e14e2b71d7fd9b3' # Latest commit we know that works
|
||||||
|
|
||||||
|
- name: Apply patches
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
cd logrotate
|
||||||
|
git apply ../logrotate-*.patch
|
||||||
|
|
||||||
# Buildkit setup
|
# Buildkit setup
|
||||||
- uses: ./.github/actions/buildx-setup
|
- uses: ./.github/actions/buildx-setup
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,14 @@
|
||||||
name: 'Build the postfix-exporter'
|
name: 'Build the postfix-exporter'
|
||||||
description: 'Build the latest version of postfix-exporter'
|
description: 'Build the latest version of postfix-exporter'
|
||||||
|
|
||||||
|
inputs:
|
||||||
|
DOCKER_ACCESS_TOKEN:
|
||||||
|
description: 'DOCKER_ACCESS_TOKEN'
|
||||||
|
required: true
|
||||||
|
tags:
|
||||||
|
description: 'Docker image tags'
|
||||||
|
required: true
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
|
|
9
.gitignore
vendored
9
.gitignore
vendored
|
@ -1,7 +1,8 @@
|
||||||
.idea
|
.idea
|
||||||
helm/fixtures
|
helm/fixtures/
|
||||||
public
|
public/
|
||||||
gh-pages
|
gh-pages/
|
||||||
.env
|
.env
|
||||||
cache
|
cache
|
||||||
postfix_exporter
|
postfix_exporter/
|
||||||
|
logrotate/
|
||||||
|
|
12
logrotate-01.patch
Normal file
12
logrotate-01.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
diff --git a/Dockerfile b/Dockerfile
|
||||||
|
index 8cc3c6d..dc4c6cb 100644
|
||||||
|
--- a/Dockerfile
|
||||||
|
+++ b/Dockerfile
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
-FROM blacklabelops/alpine:3.8
|
||||||
|
-MAINTAINER Steffen Bleul <sbl@blacklabelops.com>
|
||||||
|
+FROM alpine:latest
|
||||||
|
+LABEL maintainer="Steffen Bleul <sbl@blacklabelops.com>"
|
||||||
|
|
||||||
|
# logrotate version (e.g. 3.9.1-r0)
|
||||||
|
ARG LOGROTATE_VERSION=latest
|
Loading…
Reference in a new issue