12 Commits

Author SHA1 Message Date
c170aaa085 Merge pull request 'chore(deps): update dependency postfixadmin/postfixadmin to v3.3.11' (#7) from renovate/postfixadmin-postfixadmin-3.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #7
2022-04-15 21:26:17 +00:00
a791674861 chore(deps): update dependency postfixadmin/postfixadmin to v3.3.11
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-04-15 11:48:56 +02:00
1c6d7bbbb3 fix(ci): matchPackageNames is an array
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-15 11:48:31 +02:00
278bb991bf fix(ci): package rule to trim leading info from git version
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-04-15 10:59:39 +02:00
d885a22ae4 fix(ci): extract version
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-15 10:55:39 +02:00
56570f9fb8 fix(ci): renovate versionTemplate regexp
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-15 10:34:07 +02:00
e29136e73a fix(ci): renovate search condition
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-14 22:04:30 +02:00
6edd838968 chore(deps): update docker.io/volkerraschek/markdownlint docker tag to v0.31.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-02-09 19:32:47 +00:00
9a58c7c040 fix(ci): add package rules
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-30 18:20:51 +01:00
3fc6dcd3fa fix(ci): add aarch64 build
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-30 01:05:50 +01:00
4eb277bee4 Merge pull request 'chore(deps): update docker.io/volkerraschek/markdownlint docker tag to v0.30.0' (#2) from renovate/docker.io-volkerraschek-markdownlint-0.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #2
2021-11-20 12:38:06 +00:00
ba879cd3f6 chore(deps): update docker.io/volkerraschek/markdownlint docker tag to v0.30.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-11-20 12:05:19 +00:00
5 changed files with 340 additions and 15 deletions

View File

@ -5,13 +5,12 @@ name: linter
platform:
os: linux
arch: amd64
steps:
- name: markdown lint
commands:
- markdownlint *.md
image: docker.io/volkerraschek/markdownlint:0.29.0
image: docker.io/volkerraschek/markdownlint:0.31.1
resources:
limits:
cpu: 50
@ -42,6 +41,189 @@ trigger:
exclude:
- tag
---
kind: pipeline
type: docker
name: dry-run-amd64
platform:
os: linux
arch: amd64
steps:
- name: build
image: plugins/docker
settings:
dockerfile: Dockerfile
auto_tag: false
dry_run: true
tags: latest-amd64
repo: volkerraschek/markdownlint
username:
from_secret: container_image_registry_user
password:
from_secret: container_image_registry_password
no_cache: true
volumes:
- name: docker_socket
path: /var/run/docker.sock
- name: notify
image: drillster/drone-email
environment:
PLUGIN_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
when:
status:
- changed
- failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
depends_on:
- linter
trigger:
branch:
exclude:
- master
event:
- pull_request
- push
repo:
- volker.raschek/postfixadmin-docker
---
kind: pipeline
type: docker
name: dry-run-arm-v7
platform:
os: linux
arch: arm
steps:
- name: build
image: plugins/docker
settings:
dockerfile: Dockerfile
auto_tag: false
dry_run: true
tags: latest-arm-v7
repo: volkerraschek/postfixadmin
username:
from_secret: container_image_registry_user
password:
from_secret: container_image_registry_password
no_cache: true
- name: notify
image: drillster/drone-email
environment:
PLUGIN_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
volumes:
- name: docker_socket
path: /var/run/docker.sock
when:
status:
- changed
- failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
depends_on:
- linter
trigger:
branch:
exclude:
- master
event:
- pull_request
- push
repo:
- volker.raschek/postfixadmin-docker
---
kind: pipeline
type: docker
name: dry-run-arm64-v8
platform:
os: linux
arch: arm64
steps:
- name: build
image: plugins/docker
settings:
dockerfile: Dockerfile
auto_tag: false
dry_run: true
tags: latest-arm64-v8
repo: volkerraschek/postfixadmin
username:
from_secret: container_image_registry_user
password:
from_secret: container_image_registry_password
no_cache: true
- name: notify
image: drillster/drone-email
environment:
PLUGIN_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
volumes:
- name: docker_socket
path: /var/run/docker.sock
when:
status:
- changed
- failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
depends_on:
- linter
trigger:
branch:
exclude:
- master
event:
- pull_request
- push
repo:
- volker.raschek/postfixadmin-docker
---
kind: pipeline
type: docker
@ -104,7 +286,7 @@ trigger:
---
kind: pipeline
type: docker
name: latest-armv7
name: latest-arm-v7
platform:
os: linux
@ -116,7 +298,66 @@ steps:
settings:
dockerfile: Dockerfile
auto_tag: false
tags: latest-armv7
tags: latest-arm-v7
repo: volkerraschek/postfixadmin
username:
from_secret: container_image_registry_user
password:
from_secret: container_image_registry_password
no_cache: true
- name: notify
image: drillster/drone-email
environment:
PLUGIN_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
volumes:
- name: docker_socket
path: /var/run/docker.sock
when:
status:
- changed
- failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
depends_on:
- linter
trigger:
branch:
- master
event:
- cron
- push
repo:
- volker.raschek/postfixadmin-docker
---
kind: pipeline
type: docker
name: latest-arm64-v8
platform:
os: linux
arch: arm64
steps:
- name: build
image: plugins/docker
settings:
dockerfile: Dockerfile
auto_tag: false
tags: latest-arm64-v8
repo: volkerraschek/postfixadmin
username:
from_secret: container_image_registry_user
@ -199,7 +440,8 @@ steps:
depends_on:
- latest-amd64
- latest-armv7
- latest-arm-v7
- latest-arm64-v8
trigger:
branch:
@ -268,7 +510,7 @@ trigger:
---
kind: pipeline
type: docker
name: tagged-armv7
name: tagged-arm-v7
platform:
os: linux
@ -280,7 +522,62 @@ steps:
settings:
dockerfile: Dockerfile
auto_tag: true
auto_tag_suffix: armv7
auto_tag_suffix: arm-v7
repo: volkerraschek/postfixadmin
username:
from_secret: container_image_registry_user
password:
from_secret: container_image_registry_password
build_args:
- POSTFIXADMIN_VERSION=${DRONE_TAG}
no_cache: true
volumes:
- name: docker_socket
path: /var/run/docker.sock
- name: notify
image: drillster/drone-email
environment:
PLUGIN_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
when:
status:
- changed
- failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
trigger:
event:
- tag
repo:
- volker.raschek/postfixadmin-docker
---
kind: pipeline
type: docker
name: tagged-arm64-v8
platform:
os: linux
arch: arm64
steps:
- name: build
image: plugins/docker
settings:
dockerfile: Dockerfile
auto_tag: true
auto_tag_suffix: arm64-v8
repo: volkerraschek/postfixadmin
username:
from_secret: container_image_registry_user
@ -359,7 +656,8 @@ steps:
depends_on:
- tagged-amd64
- tagged-armv7
- tagged-arm-v7
- tagged-arm64-v8
trigger:
event:

View File

@ -1,7 +1,7 @@
FROM docker.io/library/php:7.4-apache
# POSTFIXADMIN VERSION
ARG POSTFIXADMIN_VERSION=3.3.9
ARG POSTFIXADMIN_VERSION
# APACHE
ENV APACHE_DOCUMENT_ROOT /var/www/html/public

View File

@ -1,3 +1,7 @@
# POSTFIXADMIN_VERSION
# Only required to install a specifiy version
POSTFIXADMIN_VERSION?=3.3.11
# CONTAINER_RUNTIME
# The CONTAINER_RUNTIME variable will be used to specified the path to a
# container runtime. This is needed to start and run a container image.

View File

@ -17,4 +17,10 @@ manifests:
platform:
architecture: arm
os: linux
variant: v7
variant: v7
-
image: volkerraschek/postfixadmin:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8
platform:
architecture: arm64
os: linux
variant: v8

View File

@ -1,22 +1,39 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"automerge": false,
"assignees": [ "volker.raschek" ],
"automergeStrategy": "merge-commit",
"automergeType": "pr",
"labels": [ "renovate" ],
"packageRules": [
{
"addLabels": [ "renovate/droneci", "renovate/automerge" ],
"automerge": true,
"matchManagers": "droneci",
"matchUpdateTypes": [ "minor", "patch"]
},
{
"description": "Trim leading postfixadmin- from git tag",
"addLabels": [ "renovate/postfixadmin" ],
"automerge": false,
"extractVersion": "^postfixadmin-(?<version>\\d+\\.\\d+\\.\\d+)$",
"matchPackageNames": [ "postfixadmin/postfixadmin" ],
"matchManagers": [ "regex" ]
}
],
"rebaseLabel": "renovate/rebase",
"rebaseWhen": "behind-base-branch",
"regexManagers": [
{
"description": "Update postfixadmin git tag",
"fileMatch": [
"^Dockerfile$"
"^Makefile$"
],
"matchStrings": [
"ARG POSTFIXADMIN_VERSION=(?<currentValue>.*?)\n"
"POSTFIXADMIN_VERSION\\?=(?<currentValue>.*?)\n"
],
"depNameTemplate": "postfixadmin/postfixadmin",
"datasourceTemplate": "github-tags",
"versioningTemplate": "regex:^(postfixadmin-)?(v)?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)\\s"
"depNameTemplate": "postfixadmin/postfixadmin",
"versioningTemplate": "regex:^(postfixadmin-)?(v)?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(\\s*)?$"
}
]
}