Fix: Update logrorate build

This commit is contained in:
Bojan Čekrlić 2023-10-27 09:12:42 +02:00
parent 6da38c0d4e
commit 5fb369a82f
4 changed files with 39 additions and 4 deletions

View file

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

View file

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

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