65 Commits

Author SHA1 Message Date
ab97d321a6 chore(deps): update docker.io/library/alpine docker tag to v3.18.5
Some checks reported errors
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build encountered an error
2023-11-30 23:15:20 +00:00
cef394400e chore(deps): update docker.io/plugins/docker docker tag to v20.17.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-11-15 14:17:46 +00:00
b557cc77f9 chore(deps): update docker.io/plugins/docker docker tag to v20.17.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-10-26 14:36:26 +00:00
4de892e6c3 Merge pull request 'chore(deps): update docker.io/plugins/docker docker tag to v20.16.0' (#29) from renovate/docker.io-plugins-docker-20.x into master
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-25 20:34:57 +00:00
314a181537 chore(deps): update docker.io/plugins/docker docker tag to v20.16.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-10-25 22:09:47 +02:00
d99bdabaca fix: unsupport arm-v7 image
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-25 14:27:32 +02:00
58bb2827fe core(deps): update git.cryptic.systems/volker.raschek/drone-email to 0.1.5
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-02 13:52:46 +02:00
9a7db82272 core(deps): update git.cryptic.systems/volker.raschek/git to 0.1.3 2023-10-02 13:51:05 +02:00
468349f121 chore(deps): update docker.io/library/alpine docker tag to v3.18.4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-09-29 00:21:30 +02:00
9ddc331d51 chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.37.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-09-22 19:40:14 +02:00
0f77db675a chore(deps): update quay.io/skopeo/stable docker tag to v1.13.3
Some checks reported errors
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build encountered an error
2023-09-21 18:32:00 +02:00
1534b29728 revert(deps): update docker.io/plugins/docker docker tag to v20.14.4
All checks were successful
continuous-integration/drone/push Build is passing
This reverts commit 3b4f12f596.
2023-09-03 16:22:57 +02:00
6ed8695600 fix(renovate): exclude updating docker.io/plugins/docker 2023-09-03 16:22:49 +02:00
3b4f12f596 chore(deps): update docker.io/plugins/docker docker tag to v20.14.4
Some checks reported errors
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build encountered an error
2023-09-03 15:12:14 +02:00
c23251eedb chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.36.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-03 12:54:18 +00:00
65aaf19b6c chore(deps): update quay.io/skopeo/stable docker tag to v1.13.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-09-03 14:01:30 +02:00
ca1cce0a36 chore(deps): update dependency quay.io/skopeo/stable to v1.13.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-08-07 23:49:52 +02:00
8c8fbdbd93 chore(deps): update dependency docker.io/library/alpine to v3.18.3
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-08-07 23:35:45 +02:00
703a6ac3a9 chore(deps): update dependency quay.io/skopeo/stable to v1.13.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-07-19 21:33:36 +02:00
e1f0493129 chore(deps): update dependency quay.io/skopeo/stable to v1.12.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-07-08 17:06:23 +02:00
0265f7b392 fix(ci): migrate to git.cryptic.systems
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-08 17:02:46 +02:00
b4d95c7549 fix(renovate): automerge patch versions of used container images in docker files
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-18 21:50:34 +02:00
ba8ccb0a9f Merge pull request 'chore(deps): update dependency docker.io/library/alpine to v3.18.2' (#19) from renovate/docker.io-library-alpine-3.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #19
2023-06-18 19:41:00 +00:00
93e783ce1b chore(deps): update dependency docker.io/library/alpine to v3.18.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-06-18 17:23:44 +02:00
efb73b731a feat(ci): use docker.io/plugins/manifest v1.4.0
Some checks failed
continuous-integration/drone/push Build is failing
2023-06-18 14:55:34 +02:00
d8572c7316 chore(deps): update dependency git.cryptic.systems/volker.raschek/markdownlint to v0.35.0
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2023-06-17 21:59:44 +02:00
6e275a82e1 feat(ci): use git.cryptic.systems/volker.raschek/drone-email v0.1.2
Some checks failed
continuous-integration/drone/push Build is failing
2023-06-17 15:56:10 +02:00
75958cc30c chore(deps): update dependency docker.io/volkerraschek/drone-email to v0.1.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-06-17 15:07:18 +02:00
29ca174296 chore(deps): update dependency git.cryptic.systems/volker.raschek/markdownlint to v0.34.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-06-09 09:17:34 +02:00
1eb6d5e397 feat(ci): use git.cryptic.systems/volker.raschek/markdownlint v0.33.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-08 19:38:57 +02:00
4dee9e7174 feat(ci): use docker.io/plugins/drone v20.10.9
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-08 19:25:32 +02:00
6674230f94 feat(ci): migrate to volker.raschek/git v1.2.1
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-08 19:01:13 +02:00
afe01bfa9a Merge pull request 'chore(deps): update dependency docker.io/library/alpine to v3.18.0' (#16) from renovate/docker.io-library-alpine-3.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #16
2023-05-21 10:19:18 +00:00
e59bae8972 chore(deps): update dependency docker.io/library/alpine to v3.18.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-05-18 13:59:31 +02:00
17e293a19e Merge pull request 'chore(deps): update dependency docker.io/library/alpine to v3.17.1' (#14) from renovate/docker.io-library-alpine-3.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #14
2023-01-20 15:43:52 +00:00
15434e11a5 chore(deps): update dependency docker.io/library/alpine to v3.17.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-01-09 18:43:45 +01:00
3ea7a0830f chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.33.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-01-07 19:44:48 +01:00
2bbe333e33 Merge pull request 'chore(deps): update dependency docker.io/library/alpine to v3.16.2' (#12) from renovate/docker.io-library-alpine-3.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #12
2022-09-11 11:19:30 +00:00
89d8e88450 chore(deps): update dependency docker.io/library/alpine to v3.16.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-08-21 16:59:24 +02:00
8542126e77 chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.32.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-08-21 16:43:51 +02:00
76f05709ea fix(ci): remove docker socket volume
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-26 17:39:57 +02:00
4b125b40b5 fix(ci): use docker.io/volkerraschek/drone-email:0.1.1
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-26 17:09:00 +02:00
a0b9f6202c chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.32.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-25 13:02:17 +02:00
922bd139d9 fix: use podman instead of docker
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-23 10:19:33 +02:00
8ff66b34fd Merge pull request 'chore(deps): update dependency docker.io/library/alpine to v3.16.1' (#10) from renovate/docker.io-library-alpine-3.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #10
2022-07-19 21:35:06 +00:00
6094939993 chore(deps): update dependency docker.io/library/alpine to v3.16.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-19 20:24:49 +02:00
895bca842b chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.32.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-18 11:17:00 +02:00
0f84feeb5f fix: getHostname error in docker-compose
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-14 20:02:15 +02:00
4ec1a2311b chore(deps): update dependency docker.io/library/alpine to v3.16.0 2022-07-14 20:02:15 +02:00
16f30737f2 fix(ci): resource limits
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2022-05-22 13:10:28 +02:00
c33ffca552 fix(ci): use fully qualified image name
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-22 13:02:39 +02:00
25b57f99be fix(ci): use gitea to sync repo with github
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-03 17:48:47 +02:00
163eb5c4ea Merge pull request 'chore(deps): update dependency docker.io/library/alpine to v3.15.4' (#6) from renovate/docker.io-library-alpine-3.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #6
2022-04-15 21:27:53 +00:00
0cb5db3c50 chore(deps): update dependency docker.io/library/alpine to v3.15.4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-04-05 02:04:19 +02:00
c37d202e25 Merge pull request 'chore(deps): update dependency docker.io/library/alpine to v3.15.3' (#5) from renovate/docker.io-library-alpine-3.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #5
2022-04-01 19:00:14 +00:00
5acd0eb4df chore(deps): update dependency docker.io/library/alpine to v3.15.3
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-03-29 09:02:29 +02:00
7f72f0349a Merge pull request 'chore(deps): update dependency docker.io/library/alpine to v3.15.1' (#4) from renovate/docker.io-library-alpine-3.x into master
Reviewed-on: #4
2022-03-17 17:58:22 +00:00
f66d5d0327 chore(deps): update dependency docker.io/library/alpine to v3.15.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-03-17 04:02:37 +01:00
4afa9a27ed 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:33:26 +00:00
906f520730 fix(ci): add package rules
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-30 18:21:16 +01:00
c1736289c5 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
2022-01-25 21:18:30 +00:00
eea2724aea chore(deps): update docker.io/volkerraschek/markdownlint docker tag to v0.30.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-01-25 21:01:53 +00:00
3fdf46a523 chore(deps): update docker.io/library/alpine docker tag to v3.15.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-01-25 20:39:56 +00:00
dd3c1184d6 fix(ci): build armv7 and aarch64 images
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-25 21:32:31 +01:00
c0a6f5c8f5 fix: add renovate config
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-22 00:02:23 +01:00
6 changed files with 463 additions and 192 deletions

View File

@ -3,35 +3,42 @@ kind: pipeline
type: kubernetes type: kubernetes
name: linter name: linter
clone:
disable: true
platform: platform:
os: linux os: linux
arch: amd64
steps: steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1
- name: markdown lint - name: markdown lint
commands: commands:
- markdownlint *.md - markdownlint *.md
image: docker.io/volkerraschek/markdownlint:0.29.0 image: git.cryptic.systems/volker.raschek/markdownlint:0.37.0
resources: resources:
limits: limits:
cpu: 50 cpu: 150
memory: 50M memory: 150M
- name: email-notification - name: email-notification
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host from_secret: smtp_host
PLUGIN_USERNAME: SMTP_USERNAME:
from_secret: smtp_username from_secret: smtp_username
PLUGIN_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
PLUGIN_FROM: image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
from_secret: smtp_mail_address
image: docker.io/drillster/drone-email:latest
resources: resources:
limits: limits:
cpu: 50 cpu: 150
memory: 25M memory: 150M
when: when:
status: status:
- changed - changed
@ -45,53 +52,190 @@ trigger:
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
name: latest-amd64 name: dry-run-amd64
clone:
disable: true
depends_on:
- linter
platform: platform:
os: linux os: linux
arch: amd64 arch: amd64
steps: steps:
- name: build - name: clone
image: plugins/docker image: git.cryptic.systems/volker.raschek/git:1.3.1
settings:
dockerfile: Dockerfile
auto_tag: false
tags: latest-amd64
repo: volkerraschek/postfixadmin-fetchmail
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 - name: build
image: drillster/drone-email image: docker.io/plugins/docker:20.17.1
settings:
auto_tag: false
dockerfile: Dockerfile
dry_run: true
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/postfixadmin-fetchmail
tags: latest-amd64
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host from_secret: smtp_host
PLUGIN_USERNAME: SMTP_USERNAME:
from_secret: smtp_username from_secret: smtp_username
PLUGIN_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
PLUGIN_FROM: image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
from_secret: smtp_mail_address
when: when:
status: status:
- changed - changed
- failure - failure
volumes: trigger:
- name: docker_socket branch:
host: exclude:
path: /var/run/docker.sock - master
event:
- pull_request
- push
repo:
- volker.raschek/postfixadmin-fetchmail-docker
---
kind: pipeline
type: docker
name: dry-run-arm64-v8
clone:
disable: true
depends_on: depends_on:
- linter - linter
platform:
os: linux
arch: arm64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1
- name: build
image: docker.io/plugins/docker:20.17.1
settings:
auto_tag: false
dockerfile: Dockerfile
dry_run: true
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/postfixadmin-fetchmail
tags: latest-arm64-v8
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
when:
status:
- changed
- failure
trigger:
branch:
exclude:
- master
event:
- pull_request
- push
repo:
- volker.raschek/postfixadmin-fetchmail-docker
---
kind: pipeline
type: docker
name: latest-amd64
clone:
disable: true
depends_on:
- linter
platform:
os: linux
arch: amd64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1
- name: build
image: docker.io/plugins/docker:20.17.1
settings:
auto_tag: false
dockerfile: Dockerfile
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/postfixadmin-fetchmail
tags: latest-amd64
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
when:
status:
- changed
- failure
trigger: trigger:
branch: branch:
- master - master
@ -104,53 +248,58 @@ trigger:
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
name: latest-armv7 name: latest-arm64-v8
clone:
disable: true
depends_on:
- linter
platform: platform:
os: linux os: linux
arch: arm arch: arm64
steps: steps:
- name: build - name: clone
image: plugins/docker image: git.cryptic.systems/volker.raschek/git:1.3.1
settings:
dockerfile: Dockerfile
auto_tag: false
tags: latest-armv7
repo: volkerraschek/postfixadmin-fetchmail
username:
from_secret: container_image_registry_user
password:
from_secret: container_image_registry_password
no_cache: true
- name: notify - name: build
image: drillster/drone-email image: docker.io/plugins/docker:20.17.1
settings:
auto_tag: false
dockerfile: Dockerfile
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/postfixadmin-fetchmail
tags: latest-arm64-v8
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host from_secret: smtp_host
PLUGIN_USERNAME: SMTP_USERNAME:
from_secret: smtp_username from_secret: smtp_username
PLUGIN_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
PLUGIN_FROM: image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
from_secret: smtp_mail_address
volumes:
- name: docker_socket
path: /var/run/docker.sock
when: when:
status: status:
- changed - changed
- failure - failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
depends_on:
- linter
trigger: trigger:
branch: branch:
- master - master
@ -165,41 +314,114 @@ kind: pipeline
type: kubernetes type: kubernetes
name: latest-manifest name: latest-manifest
clone:
disable: true
depends_on:
- latest-amd64
- latest-arm64-v8
# docker.io/plugins/manifest only for amd64 architectures available
node_selector:
kubernetes.io/os: linux
kubernetes.io/arch: amd64
steps: steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1
- name: build-manifest - name: build-manifest
image: plugins/manifest image: docker.io/plugins/manifest:1.4.0
settings: settings:
auto_tag: false auto_tag: false
ignore_missing: true ignore_missing: true
spec: manifest.tmpl spec: manifest.tmpl
username: username:
from_secret: container_image_registry_user from_secret: git_cryptic_systems_container_registry_user
password: password:
from_secret: container_image_registry_password from_secret: git_cryptic_systems_container_registry_password
- name: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host from_secret: smtp_host
PLUGIN_USERNAME: SMTP_USERNAME:
from_secret: smtp_username from_secret: smtp_username
PLUGIN_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
PLUGIN_FROM: image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
from_secret: smtp_mail_address
resources: resources:
limits: limits:
cpu: 50 cpu: 150
memory: 25M memory: 150M
when: when:
status: status:
- changed - changed
- failure - failure
trigger:
branch:
- master
event:
- cron
- push
repo:
- volker.raschek/postfixadmin-fetchmail-docker
---
kind: pipeline
type: kubernetes
name: latest-sync
clone:
disable: true
depends_on: depends_on:
- latest-amd64 - latest-manifest
- latest-armv7
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1
- name: latest-sync
commands:
- skopeo sync --all --src=docker --src-creds=$SRC_CRED_USERNAME:$SRC_CRED_PASSWORD --dest=docker --dest-creds=$DEST_CRED_USERNAME:$DEST_CRED_PASSWORD git.cryptic.systems/volker.raschek/postfixadmin-fetchmail docker.io/volkerraschek
environment:
SRC_CRED_USERNAME:
from_secret: git_cryptic_systems_container_registry_user
SRC_CRED_PASSWORD:
from_secret: git_cryptic_systems_container_registry_password
DEST_CRED_USERNAME:
from_secret: container_image_registry_user
DEST_CRED_PASSWORD:
from_secret: container_image_registry_password
image: quay.io/skopeo/stable:v1.13.3
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
resources:
limits:
cpu: 150
memory: 150M
when:
status:
- changed
- failure
trigger: trigger:
branch: branch:
@ -215,48 +437,53 @@ kind: pipeline
type: docker type: docker
name: tagged-amd64 name: tagged-amd64
clone:
disable: true
platform: platform:
os: linux os: linux
arch: amd64 arch: amd64
steps: steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1
- name: build - name: build
image: plugins/docker image: docker.io/plugins/docker:20.17.1
settings: settings:
dockerfile: Dockerfile
auto_tag: true auto_tag: true
auto_tag_suffix: amd64 auto_tag_suffix: amd64
repo: volkerraschek/postfixadmin-fetchmail dockerfile: Dockerfile
username: force_tag: true
from_secret: container_image_registry_user
password:
from_secret: container_image_registry_password
no_cache: true no_cache: true
volumes: purge: true
- name: docker_socket mirror:
path: /var/run/docker.sock from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/postfixadmin-fetchmail
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
- name: notify - name: email-notification
image: drillster/drone-email
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host from_secret: smtp_host
PLUGIN_USERNAME: SMTP_USERNAME:
from_secret: smtp_username from_secret: smtp_username
PLUGIN_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
PLUGIN_FROM: image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
from_secret: smtp_mail_address
when: when:
status: status:
- changed - changed
- failure - failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
trigger: trigger:
event: event:
- tag - tag
@ -266,50 +493,55 @@ trigger:
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
name: tagged-armv7 name: tagged-arm64-v8
clone:
disable: true
platform: platform:
os: linux os: linux
arch: arm arch: arm64
steps: steps:
- name: build - name: clone
image: plugins/docker image: git.cryptic.systems/volker.raschek/git:1.3.1
settings:
dockerfile: Dockerfile
auto_tag: true
auto_tag_suffix: armv7
repo: volkerraschek/postfixadmin-fetchmail
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 - name: build
image: drillster/drone-email image: docker.io/plugins/docker:20.17.1
settings:
auto_tag: true
auto_tag_suffix: arm64-v8
dockerfile: Dockerfile
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/postfixadmin-fetchmail
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host from_secret: smtp_host
PLUGIN_USERNAME: SMTP_USERNAME:
from_secret: smtp_username from_secret: smtp_username
PLUGIN_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
PLUGIN_FROM: image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
from_secret: smtp_mail_address
when: when:
status: status:
- changed - changed
- failure - failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
trigger: trigger:
event: event:
- tag - tag
@ -321,42 +553,55 @@ kind: pipeline
type: kubernetes type: kubernetes
name: tagged-manifest name: tagged-manifest
clone:
disable: true
depends_on:
- tagged-amd64
- tagged-arm64-v8
# docker.io/plugins/manifest only for amd64 architectures available
node_selector:
kubernetes.io/os: linux
kubernetes.io/arch: amd64
steps: steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1
- name: build-manifest - name: build-manifest
image: plugins/manifest image: docker.io/plugins/manifest:1.4.0
settings: settings:
auto_tag: true auto_tag: true
ignore_missing: true ignore_missing: true
spec: manifest.tmpl spec: manifest.tmpl
username: username:
from_secret: container_image_registry_user from_secret: git_cryptic_systems_container_registry_user
password: password:
from_secret: container_image_registry_password from_secret: git_cryptic_systems_container_registry_password
- name: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host from_secret: smtp_host
PLUGIN_USERNAME: SMTP_USERNAME:
from_secret: smtp_username from_secret: smtp_username
PLUGIN_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
PLUGIN_FROM: image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
from_secret: smtp_mail_address
resources: resources:
limits: limits:
cpu: 50 cpu: 150
memory: 25M memory: 150M
when: when:
status: status:
- changed - changed
- failure - failure
depends_on:
- tagged-amd64
- tagged-armv7
trigger: trigger:
event: event:
- tag - tag
@ -366,54 +611,56 @@ trigger:
--- ---
kind: pipeline kind: pipeline
type: kubernetes type: kubernetes
name: sync name: tagged-sync
platform: clone:
os: linux disable: true
arch: amd64
depends_on:
- tagged-manifest
steps: steps:
- name: github - name: clone
image: docker.io/appleboy/drone-git-push:latest image: git.cryptic.systems/volker.raschek/git:1.3.1
resources:
limits: - name: tagged-sync
cpu: 50 commands:
memory: 25M - skopeo sync --all --src=docker --src-creds=$SRC_CRED_USERNAME:$SRC_CRED_PASSWORD --dest=docker --dest-creds=$DEST_CRED_USERNAME:$DEST_CRED_PASSWORD git.cryptic.systems/volker.raschek/postfixadmin-fetchmail docker.io/volkerraschek
settings: environment:
branch: master SRC_CRED_USERNAME:
remote: ssh://git@github.com/volker-raschek/postfixadmin-fetchmail-docker.git from_secret: git_cryptic_systems_container_registry_user
force: true SRC_CRED_PASSWORD:
ssh_key: from_secret: git_cryptic_systems_container_registry_password
from_secret: ssh_key DEST_CRED_USERNAME:
from_secret: container_image_registry_user
DEST_CRED_PASSWORD:
from_secret: container_image_registry_password
image: quay.io/skopeo/stable:v1.13.3
- name: email-notification - name: email-notification
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host from_secret: smtp_host
PLUGIN_USERNAME: SMTP_USERNAME:
from_secret: smtp_username from_secret: smtp_username
PLUGIN_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
PLUGIN_FROM: image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
from_secret: smtp_mail_address
image: docker.io/drillster/drone-email:latest
resources: resources:
limits: limits:
cpu: 50 cpu: 150
memory: 25M memory: 150M
when: when:
status: status:
- changed - changed
- failure - failure
depends_on:
- latest-manifest
trigger: trigger:
branch:
- master
event: event:
- cron - tag
- push
repo: repo:
- volker.raschek/postfixadmin-fetchmail-docker - volker.raschek/postfixadmin-fetchmail-docker

View File

@ -1,4 +1,4 @@
FROM docker.io/library/alpine:3.11.2 FROM docker.io/library/alpine:3.18.5
RUN echo "http://dl-3.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories RUN echo "http://dl-3.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories
RUN apk upgrade RUN apk upgrade

View File

@ -1,7 +1,7 @@
# CONTAINER_RUNTIME # CONTAINER_RUNTIME
# The CONTAINER_RUNTIME variable will be used to specified the path to a # 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. # container runtime. This is needed to start and run a container image.
CONTAINER_RUNTIME?=$(shell which docker) CONTAINER_RUNTIME?=$(shell which podman)
# FETCHMAIL_IMAGE_REGISTRY_NAME # FETCHMAIL_IMAGE_REGISTRY_NAME
# Defines the name of the new container to be built using several variables. # Defines the name of the new container to be built using several variables.

View File

@ -11,3 +11,4 @@ services:
- DATABASE_PORT=${DATABASE_PORT} - DATABASE_PORT=${DATABASE_PORT}
- DATABASE_NAME=${DATABASE_NAME} - DATABASE_NAME=${DATABASE_NAME}
network_mode: host network_mode: host
privileged: true

View File

@ -1,4 +1,4 @@
image: volkerraschek/postfixadmin-fetchmail:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}} image: git.cryptic.systems/volker.raschek/postfixadmin-fetchmail:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
{{#if build.tags}} {{#if build.tags}}
tags: tags:
{{#each build.tags}} {{#each build.tags}}
@ -7,14 +7,12 @@ tags:
- "latest" - "latest"
{{/if}} {{/if}}
manifests: manifests:
- - image: git.cryptic.systems/volker.raschek/postfixadmin-fetchmail:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-amd64
image: volkerraschek/postfixadmin-fetchmail:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-amd64
platform: platform:
architecture: amd64 architecture: amd64
os: linux os: linux
- - image: git.cryptic.systems/volker.raschek/postfixadmin-fetchmail:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8
image: volkerraschek/postfixadmin-fetchmail:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-armv7
platform: platform:
architecture: arm architecture: arm64
os: linux os: linux
variant: v7 variant: v8

25
renovate.json Normal file
View File

@ -0,0 +1,25 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"assignees": [ "volker.raschek" ],
"automergeStrategy": "merge-commit",
"automergeType": "pr",
"labels": [ "renovate" ],
"packageRules": [
{
"addLabels": [ "renovate/droneci", "renovate/automerge" ],
"automerge": true,
"matchManagers": "droneci",
"matchUpdateTypes": [ "minor", "patch"]
},
{
"description": "Automatically update patch version of used container images in docker files",
"addLabels": [ "renovate/container-image", "renovate/automerge" ],
"automerge": true,
"matchBaseBranches": [ "master" ],
"matchManagers": [ "dockerfile" ],
"matchUpdateTypes": [ "patch" ]
}
],
"rebaseLabel": "renovate/rebase",
"rebaseWhen": "behind-base-branch"
}