mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-03-04 02:23:09 +08:00
Fix: Update logrorate build
This commit is contained in:
parent
6da38c0d4e
commit
5fb369a82f
4 changed files with 39 additions and 4 deletions
14
.github/actions/build-logrotate/action.yaml
vendored
14
.github/actions/build-logrotate/action.yaml
vendored
|
@ -1,6 +1,14 @@
|
|||
name: 'Build the 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:
|
||||
using: "composite"
|
||||
steps:
|
||||
|
@ -11,6 +19,12 @@ runs:
|
|||
path: 'logrotate'
|
||||
ref: 'fdab0abc0b3f2917052e5d509e14e2b71d7fd9b3' # Latest commit we know that works
|
||||
|
||||
- name: Apply patches
|
||||
shell: bash
|
||||
run: |
|
||||
cd logrotate
|
||||
git apply ../logrotate-*.patch
|
||||
|
||||
# Buildkit setup
|
||||
- uses: ./.github/actions/buildx-setup
|
||||
|
||||
|
|
|
@ -1,6 +1,14 @@
|
|||
name: 'Build the 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:
|
||||
using: "composite"
|
||||
steps:
|
||||
|
|
9
.gitignore
vendored
9
.gitignore
vendored
|
@ -1,7 +1,8 @@
|
|||
.idea
|
||||
helm/fixtures
|
||||
public
|
||||
gh-pages
|
||||
helm/fixtures/
|
||||
public/
|
||||
gh-pages/
|
||||
.env
|
||||
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