Skip to content

Commit

Permalink
Fix: Update logrorate build
Browse files Browse the repository at this point in the history
  • Loading branch information
bokysan committed Oct 27, 2023
1 parent 6da38c0 commit 5fb369a
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 4 deletions.
14 changes: 14 additions & 0 deletions .github/actions/build-logrotate/action.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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

Expand Down
8 changes: 8 additions & 0 deletions .github/actions/build-postfix-exporter/action.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
9 changes: 5 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.idea
helm/fixtures
public
gh-pages
helm/fixtures/
public/
gh-pages/
.env
cache
postfix_exporter
postfix_exporter/
logrotate/
12 changes: 12 additions & 0 deletions logrotate-01.patch
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
+FROM alpine:latest
+LABEL maintainer="Steffen Bleul <[email protected]>"

# logrotate version (e.g. 3.9.1-r0)
ARG LOGROTATE_VERSION=latest

0 comments on commit 5fb369a

Please sign in to comment.