46 Commits

Author SHA1 Message Date
89d8d65955 fix(Dockerfile): checkout correct branch
All checks were successful
Build / build-amd64 (push) Successful in 2m48s
Lint Markdown files / markdown-lint (push) Successful in 4s
Build / build-arm64 (push) Successful in 9m0s
Release / push-amd64 (push) Successful in 3m37s
Release / push-arm64 (push) Successful in 11m27s
Release / push-manifest (push) Successful in 5s
Release / sync-to-hub-docker-io (push) Successful in 48s
2026-01-14 11:02:59 +01:00
fde42c2738 fix(ci): add image suffix
Some checks failed
Build / build-amd64 (push) Failing after 45s
Lint Markdown files / markdown-lint (push) Successful in 4s
Build / build-arm64 (push) Failing after 1m41s
2026-01-14 10:44:44 +01:00
7d7dad0c0b fix: migrate to rpm-rs 2026-01-09 15:18:09 +01:00
445a427fb5 Merge pull request 'chore(deps): update docker/setup-buildx-action action to v3.12.0' (#84) from renovate/actions into master
All checks were successful
Build / build-amd64 (push) Successful in 2m6s
Lint Markdown files / markdown-lint (push) Successful in 6s
Build / build-arm64 (push) Successful in 7m19s
2025-12-19 11:41:54 +00:00
1526fd518c chore(deps): update docker/setup-buildx-action action to v3.12.0
All checks were successful
Build / build-amd64 (pull_request) Successful in 2m9s
Lint Markdown files / markdown-lint (pull_request) Successful in 5s
Build / build-arm64 (pull_request) Successful in 7m22s
2025-12-19 11:14:14 +00:00
f106b608ca Merge pull request 'chore(deps): update docker.io/library/rust docker tag to v1.92.0' (#83) from renovate/container-images into master
All checks were successful
Build / build-amd64 (push) Successful in 2m4s
Lint Markdown files / markdown-lint (push) Successful in 5s
Build / build-arm64 (push) Successful in 7m24s
2025-12-11 23:19:48 +00:00
4ee5f0b027 chore(deps): update docker.io/library/rust docker tag to v1.92.0
All checks were successful
Build / build-amd64 (pull_request) Successful in 2m14s
Lint Markdown files / markdown-lint (pull_request) Successful in 5s
Build / build-arm64 (pull_request) Successful in 7m18s
2025-12-11 23:12:09 +00:00
8be9127c62 Merge pull request 'chore(deps): update actions/checkout action to v6' (#82) from renovate/actions-checkout-6.x into master
All checks were successful
Build / build-amd64 (push) Successful in 2m0s
Lint Markdown files / markdown-lint (push) Successful in 4s
Build / build-arm64 (push) Successful in 7m5s
2025-12-02 22:12:36 +00:00
bd7979462e chore(deps): update actions/checkout action to v6
All checks were successful
Build / build-amd64 (pull_request) Successful in 2m2s
Lint Markdown files / markdown-lint (pull_request) Successful in 4s
Build / build-arm64 (pull_request) Successful in 7m4s
2025-12-02 21:15:38 +00:00
a9a664f4ba Merge pull request 'chore(deps): update davidanson/markdownlint-cli2-action action to v21' (#80) from renovate/davidanson-markdownlint-cli2-action-21.x into master
All checks were successful
Build / build-amd64 (push) Successful in 2m1s
Lint Markdown files / markdown-lint (push) Successful in 5s
Build / build-arm64 (push) Successful in 7m12s
2025-11-18 23:11:57 +00:00
d89df08074 chore(deps): update davidanson/markdownlint-cli2-action action to v21
All checks were successful
Build / build-amd64 (pull_request) Successful in 2m1s
Lint Markdown files / markdown-lint (pull_request) Successful in 5s
Build / build-arm64 (pull_request) Successful in 7m22s
2025-11-17 20:13:54 +00:00
403a5cac02 Merge pull request 'chore(deps): update actions/checkout action to v5.0.1' (#81) from renovate/actions into master
All checks were successful
Build / build-amd64 (push) Successful in 2m2s
Lint Markdown files / markdown-lint (push) Successful in 4s
Build / build-arm64 (push) Successful in 7m8s
2025-11-17 18:22:28 +00:00
6c2b9439a6 chore(deps): update actions/checkout action to v5.0.1
All checks were successful
Build / build-amd64 (pull_request) Successful in 2m0s
Lint Markdown files / markdown-lint (pull_request) Successful in 5s
Build / build-arm64 (pull_request) Successful in 7m6s
2025-11-17 17:16:38 +00:00
4064d5b137 Merge pull request 'chore(deps): update docker.io/library/rust docker tag to v1.91.1' (#79) from renovate/container-images into master
All checks were successful
Build / build-amd64 (push) Successful in 1m54s
Lint Markdown files / markdown-lint (push) Successful in 5s
Build / build-arm64 (push) Successful in 7m12s
2025-11-10 23:18:33 +00:00
49e1d5a29d chore(deps): update docker.io/library/rust docker tag to v1.91.1
All checks were successful
Build / build-amd64 (pull_request) Successful in 2m1s
Lint Markdown files / markdown-lint (pull_request) Successful in 4s
Build / build-arm64 (pull_request) Successful in 7m8s
2025-11-10 23:11:16 +00:00
6e1495a0ba Merge pull request 'chore(deps): update docker/setup-qemu-action action to v3.7.0' (#78) from renovate/actions into master
All checks were successful
Build / build-amd64 (push) Successful in 2m23s
Lint Markdown files / markdown-lint (push) Successful in 4s
Build / build-arm64 (push) Successful in 7m32s
2025-11-05 18:32:07 +00:00
28b58cdcba chore(deps): update docker/setup-qemu-action action to v3.7.0
All checks were successful
Build / build-arm64 (pull_request) Successful in 7m26s
Lint Markdown files / markdown-lint (pull_request) Successful in 14s
Build / build-amd64 (pull_request) Successful in 2m29s
2025-11-05 17:23:00 +00:00
4e64d8b9a6 Merge pull request 'chore(deps): update docker.io/library/rust docker tag to v1.91.0' (#77) from renovate/container-images into master
All checks were successful
Build / build-amd64 (push) Successful in 2m41s
Lint Markdown files / markdown-lint (push) Successful in 5s
Build / build-arm64 (push) Successful in 7m17s
2025-10-31 02:19:25 +00:00
9f9db97743 chore(deps): update docker.io/library/rust docker tag to v1.91.0
All checks were successful
Build / build-amd64 (pull_request) Successful in 2m46s
Lint Markdown files / markdown-lint (pull_request) Successful in 5s
Build / build-arm64 (pull_request) Successful in 7m21s
2025-10-31 02:11:57 +00:00
0ddb544ffb Merge pull request 'chore(deps): update peter-evans/dockerhub-description action to v5' (#75) from renovate/peter-evans-dockerhub-description-5.x into master
All checks were successful
Build / build-amd64 (push) Successful in 1m57s
Lint Markdown files / markdown-lint (push) Successful in 5s
Build / build-arm64 (push) Successful in 7m16s
2025-10-02 22:14:56 +00:00
274bc9480a chore(deps): update peter-evans/dockerhub-description action to v5
All checks were successful
Build / build-amd64 (pull_request) Successful in 1m59s
Lint Markdown files / markdown-lint (pull_request) Successful in 4s
Build / build-arm64 (pull_request) Successful in 7m16s
2025-10-02 19:12:39 +00:00
4786e912f8 Merge pull request 'chore(deps): update actions/checkout action to v5' (#74) from renovate/actions-checkout-5.x into master
All checks were successful
Build / build-amd64 (push) Successful in 2m14s
Lint Markdown files / markdown-lint (push) Successful in 5s
Build / build-arm64 (push) Successful in 7m21s
2025-10-02 16:35:35 +00:00
612baaeb29 chore(deps): update actions/checkout action to v5
All checks were successful
Build / build-amd64 (pull_request) Successful in 1m58s
Lint Markdown files / markdown-lint (pull_request) Successful in 4s
Build / build-arm64 (pull_request) Successful in 7m26s
2025-10-02 16:14:55 +00:00
368e07bccf Merge pull request 'chore(deps): update docker.io/library/rust docker tag to v1.90.0' (#76) from renovate/container-images into master
All checks were successful
Build / build-amd64 (push) Successful in 1m57s
Lint Markdown files / markdown-lint (push) Successful in 4s
Build / build-arm64 (push) Successful in 7m15s
2025-10-02 16:02:24 +00:00
b961d0457e Merge pull request 'chore(deps): update docker/login-action action to v3.5.0' (#72) from renovate/actions into master
Some checks failed
Build / build-arm64 (push) Has been cancelled
Build / build-amd64 (push) Has been cancelled
Lint Markdown files / markdown-lint (push) Has been cancelled
2025-10-02 16:00:26 +00:00
0f5be7a1e2 chore(deps): update docker.io/library/rust docker tag to v1.90.0
All checks were successful
Build / build-arm64 (pull_request) Successful in 7m15s
Lint Markdown files / markdown-lint (pull_request) Successful in 14s
Build / build-amd64 (pull_request) Successful in 1m58s
2025-10-02 15:08:46 +00:00
5d49e076f4 chore(deps): update actions
All checks were successful
Build / build-arm64 (pull_request) Successful in 9m7s
Lint Markdown files / markdown-lint (pull_request) Successful in 36s
Build / build-amd64 (pull_request) Successful in 2m5s
2025-10-02 15:08:39 +00:00
2fec375ad4 chore(deps): update docker docker.io/library/rust to 1.79.0-slim-bullseye
All checks were successful
Build / build-amd64 (push) Successful in 2m4s
Lint Markdown files / markdown-lint (push) Successful in 4s
Build / build-arm64 (push) Successful in 9m15s
2025-10-02 16:48:56 +02:00
b3da25127c chore(deps): update docker/setup-buildx-action action to v3.11.1
All checks were successful
Build / build-arm64 (pull_request) Successful in 8m56s
Lint Markdown files / markdown-lint (pull_request) Successful in 11s
Build / build-amd64 (pull_request) Successful in 4m47s
Build / build-arm64 (push) Successful in 8m54s
Lint Markdown files / markdown-lint (push) Successful in 14s
Build / build-amd64 (push) Successful in 6m45s
2025-06-18 10:21:15 +00:00
0e47be4cf2 chore(deps): update docker/setup-buildx-action action to v3.11.0
All checks were successful
Build / build-arm64 (pull_request) Successful in 8m56s
Lint Markdown files / markdown-lint (pull_request) Successful in 10s
Build / build-amd64 (pull_request) Successful in 5m27s
Lint Markdown files / markdown-lint (push) Successful in 11s
Build / build-amd64 (push) Successful in 4m46s
Build / build-arm64 (push) Successful in 8m51s
2025-06-16 13:17:48 +00:00
5b5d47f6ea chore(deps): update davidanson/markdownlint-cli2-action action to v20
All checks were successful
Lint Markdown files / markdown-lint (pull_request) Successful in 4s
Build / build-amd64 (pull_request) Successful in 5m2s
Build / build-arm64 (pull_request) Successful in 12m14s
Lint Markdown files / markdown-lint (push) Successful in 14s
Build / build-amd64 (push) Successful in 1m51s
Build / build-arm64 (push) Successful in 13m29s
2025-05-15 07:16:26 +00:00
8ba0e29f4e docs(README): migrate from docker.io to git.cryptic.systems
All checks were successful
Lint Markdown files / markdown-lint (push) Successful in 39s
Update Docker Hub Description / update-description-on-hub-docker-io (push) Successful in 13s
Build / build-arm64 (push) Successful in 12m33s
Build / build-amd64 (push) Successful in 1m45s
2025-05-12 18:19:07 +02:00
255fd0474d docs(README): add hub.docker.io badge
All checks were successful
Build / build-amd64 (push) Successful in 5m14s
Lint Markdown files / markdown-lint (push) Successful in 14s
Update Docker Hub Description / update-description-on-hub-docker-io (push) Successful in 13s
Build / build-arm64 (push) Successful in 10m55s
2025-05-08 21:49:37 +02:00
469f8d8f62 docs(README): remove drone badge
Some checks failed
Build / build-amd64 (push) Waiting to run
Lint Markdown files / markdown-lint (push) Waiting to run
Update Docker Hub Description / update-description-on-hub-docker-io (push) Waiting to run
Build / build-arm64 (push) Has been cancelled
2025-05-08 21:47:34 +02:00
a3093b45de fix(ci): add workflow_dispatch
All checks were successful
Build / build-arm64 (push) Successful in 11m1s
Lint Markdown files / markdown-lint (push) Successful in 11s
Build / build-amd64 (push) Successful in 5m39s
2025-05-08 21:00:35 +02:00
fa09622b3f fix(ci): replace drone with gitea actions
Some checks failed
Lint Markdown files / markdown-lint (push) Waiting to run
Build / build-arm64 (push) Has been cancelled
Build / build-amd64 (push) Has been cancelled
2025-05-08 20:58:22 +02:00
6ae370593e fix(makefile): remove the deletion of the base image via make clean 2025-05-08 18:44:13 +02:00
8bb4c3fff1 chore(ci): use upstream container image registry
All checks were successful
continuous-integration/drone/push Build is passing
2025-04-02 21:32:47 +02:00
1d28c73993 chore(ci): rollback plugins/docker to 20.18.6
Some checks failed
continuous-integration/drone/push Build is failing
2025-04-02 10:44:18 +02:00
adb893a1b9 chore(ci): use container image mirror
Some checks failed
continuous-integration/drone/push Build is failing
2025-04-02 09:55:03 +02:00
334b7c20b0 fix(Makefile): make FQIN configurable
All checks were successful
continuous-integration/drone/push Build is passing
2025-04-01 20:46:31 +02:00
0698633fa5 chore(renovate): use configuration preset
All checks were successful
continuous-integration/drone/push Build is passing
2025-03-30 20:33:39 +02:00
eea5ab9867 chore(deps): update docker.io/plugins/docker docker tag to v20.18.8
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-03-26 20:32:57 +00:00
a157cdded7 chore(deps): update quay.io/skopeo/stable docker tag to v1.18.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-02-28 17:36:03 +00:00
b24425f55d chore(deps): update docker.io/plugins/docker docker tag to v20.18.7
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-02-18 08:33:31 +00:00
5c13a63bed doc(README): use absolute container image name
All checks were successful
continuous-integration/drone/push Build is passing
2024-12-28 15:09:22 +01:00
11 changed files with 235 additions and 747 deletions

View File

@@ -1,670 +0,0 @@
---
kind: pipeline
type: kubernetes
name: linter
clone:
disable: true
platform:
os: linux
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: markdown lint
commands:
- markdownlint *.md
image: git.cryptic.systems/volker.raschek/markdownlint:0.43.0
resources:
limits:
cpu: 150
memory: 150M
- 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:
event:
exclude:
- tag
---
kind: pipeline
type: docker
name: dry-run-amd64
clone:
disable: true
depends_on:
- linter
platform:
os: linux
arch: amd64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: build
image: docker.io/plugins/docker:20.18.6
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/rpm-builder
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:
branch:
exclude:
- master
event:
- pull_request
- push
repo:
- volker.raschek/rpm-builder-docker
---
kind: pipeline
type: docker
name: dry-run-arm64-v8
clone:
disable: true
depends_on:
- linter
platform:
os: linux
arch: arm64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: build
image: docker.io/plugins/docker:20.18.6
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/rpm-builder
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/rpm-builder-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.4.0
- name: build
image: docker.io/plugins/docker:20.18.6
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/rpm-builder
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:
branch:
- master
event:
- cron
- push
repo:
- volker.raschek/rpm-builder-docker
---
kind: pipeline
type: docker
name: latest-arm64-v8
clone:
disable: true
depends_on:
- linter
platform:
os: linux
arch: arm64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: build
image: docker.io/plugins/docker:20.18.6
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/rpm-builder
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:
- master
event:
- cron
- push
repo:
- volker.raschek/rpm-builder-docker
---
kind: pipeline
type: kubernetes
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:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: build-manifest
image: docker.io/plugins/manifest:1.4.0
settings:
auto_tag: false
ignore_missing: true
spec: manifest.tmpl
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
resources:
limits:
cpu: 150
memory: 150M
when:
status:
- changed
- failure
trigger:
branch:
- master
event:
- cron
- push
repo:
- volker.raschek/rpm-builder-docker
---
kind: pipeline
type: kubernetes
name: latest-sync
clone:
disable: true
depends_on:
- latest-manifest
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- 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/rpm-builder 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.17.0
- 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:
branch:
- master
event:
- cron
- push
repo:
- volker.raschek/rpm-builder-docker
---
kind: pipeline
type: docker
name: tagged-amd64
clone:
disable: true
platform:
os: linux
arch: amd64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: build
image: docker.io/plugins/docker:20.18.6
settings:
auto_tag: true
auto_tag_suffix: amd64
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/rpm-builder
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
build_args:
- RPMBUILDER_VERSION=${DRONE_TAG}
- 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:
event:
- tag
repo:
- volker.raschek/rpm-builder-docker
---
kind: pipeline
type: docker
name: tagged-arm64-v8
clone:
disable: true
platform:
os: linux
arch: arm64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: build
image: docker.io/plugins/docker:20.18.6
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/rpm-builder
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
build_args:
- RPMBUILDER_VERSION=${DRONE_TAG}
- 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:
event:
- tag
repo:
- volker.raschek/rpm-builder-docker
---
kind: pipeline
type: kubernetes
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:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: build-manifest
image: docker.io/plugins/manifest:1.4.0
settings:
auto_tag: true
ignore_missing: true
spec: manifest.tmpl
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
resources:
limits:
cpu: 150
memory: 150M
when:
status:
- changed
- failure
trigger:
event:
- tag
repo:
- volker.raschek/rpm-builder-docker
---
kind: pipeline
type: kubernetes
name: tagged-sync
clone:
disable: true
depends_on:
- tagged-manifest
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: tagged-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/rpm-builder 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.17.0
- 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:
event:
- tag
repo:
- volker.raschek/rpm-builder-docker

View File

@@ -0,0 +1,53 @@
name: Build
env:
# Introduce suffix for new upstream repository
RPMBUILDER_SUFFIX: rs
on:
pull_request:
types:
- opened
- reopened
- synchronize
push:
branches:
- master
workflow_dispatch: {}
jobs:
build-arm64:
runs-on: ubuntu-latest-arm64
steps:
- uses: actions/checkout@v6.0.1
- uses: docker/setup-qemu-action@v3.7.0
- uses: docker/setup-buildx-action@v3.12.0
- name: Build image
run: |
TAG=latest
docker buildx build \
--platform linux/arm64 \
--file Dockerfile \
--provenance false \
--tag git.cryptic.systems/volker.raschek/rpm-builder:${TAG}-${RPMBUILDER_SUFFIX}-arm64 \
.
build-amd64:
runs-on: ubuntu-latest-amd64
steps:
- uses: actions/checkout@v6.0.1
- uses: docker/setup-qemu-action@v3.7.0
- uses: docker/setup-buildx-action@v3.12.0
- name: Build image
run: |
TAG=latest
docker buildx build \
--platform linux/amd64 \
--file Dockerfile \
--provenance false \
--tag git.cryptic.systems/volker.raschek/rpm-builder:${TAG}-${RPMBUILDER_SUFFIX}-amd64 \
.

View File

@@ -0,0 +1,22 @@
name: 'Lint Markdown files'
on:
pull_request:
types:
- opened
- reopened
- synchronize
push:
branches:
- master
workflow_dispatch: {}
jobs:
markdown-lint:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v6.0.1
- uses: DavidAnson/markdownlint-cli2-action@v21.0.0
with:
globs: '**/*.md'

View File

@@ -0,0 +1,105 @@
name: Release
env:
# Introduce suffix for new upstream repository
RPMBUILDER_SUFFIX: rs
on:
push:
tags:
- "**"
jobs:
push-arm64:
runs-on: ubuntu-latest-arm64
steps:
- uses: actions/checkout@v6.0.1
- uses: docker/setup-qemu-action@v3.7.0
- uses: docker/setup-buildx-action@v3.12.0
- uses: docker/login-action@v3.6.0
with:
registry: git.cryptic.systems
username: ${{ github.repository_owner }}
password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
- name: Build and push image
run: |
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
docker buildx build \
--build-arg RPMBUILDER_VERSION=${{ github.ref_name }} \
--file Dockerfile \
--platform linux/arm64 \
--provenance false \
--push \
--tag git.cryptic.systems/volker.raschek/rpm-builder:${TAG}-${RPMBUILDER_SUFFIX}-arm64 \
.
push-amd64:
runs-on: ubuntu-latest-amd64
steps:
- uses: actions/checkout@v6.0.1
- uses: docker/setup-qemu-action@v3.7.0
- uses: docker/setup-buildx-action@v3.12.0
- uses: docker/login-action@v3.6.0
with:
registry: git.cryptic.systems
username: ${{ github.repository_owner }}
password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
- name: Build and push image
run: |
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
docker buildx build \
--build-arg RPMBUILDER_VERSION=${{ github.ref_name }} \
--file Dockerfile \
--platform linux/amd64 \
--provenance false \
--push \
--tag git.cryptic.systems/volker.raschek/rpm-builder:${TAG}-${RPMBUILDER_SUFFIX}-amd64 \
.
push-manifest:
runs-on: ubuntu-latest
needs:
- push-arm64
- push-amd64
steps:
- uses: docker/login-action@v3.6.0
with:
registry: git.cryptic.systems
username: ${{ github.repository_owner }}
password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
- name: Create and push manifest
run: |
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
docker manifest create git.cryptic.systems/volker.raschek/rpm-builder:${TAG}-${RPMBUILDER_SUFFIX} \
--amend git.cryptic.systems/volker.raschek/rpm-builder:${TAG}-${RPMBUILDER_SUFFIX}-amd64 \
--amend git.cryptic.systems/volker.raschek/rpm-builder:${TAG}-${RPMBUILDER_SUFFIX}-arm64
docker manifest push git.cryptic.systems/volker.raschek/rpm-builder:${TAG}-${RPMBUILDER_SUFFIX}
sync-to-hub-docker-io:
needs:
- push-manifest
runs-on: ubuntu-latest
steps:
- name: Copy images to docker.io
run: |
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
apt-get update --yes
apt-get install --yes skopeo
skopeo copy \
--all \
--dest-password ${{ secrets.DOCKER_IO_PASSWORD }} \
--dest-username ${{ secrets.DOCKER_IO_USERNAME }} \
--src-password ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }} \
--src-username volker.raschek \
docker://git.cryptic.systems/volker.raschek/rpm-builder:${TAG}-${RPMBUILDER_SUFFIX} \
docker://docker.io/volkerraschek/rpm-builder:${TAG}-${RPMBUILDER_SUFFIX}

View File

@@ -0,0 +1,22 @@
name: Update Docker Hub Description
on:
push:
branches:
- master
paths:
- README.md
workflow_dispatch: {}
jobs:
update-description-on-hub-docker-io:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v6.0.1
- uses: peter-evans/dockerhub-description@v5.0.0
with:
username: ${{ secrets.DOCKER_IO_USERNAME }}
password: ${{ secrets.DOCKER_IO_PASSWORD }}
repository: volkerraschek/rpm-builder
readme-filepath: README.md

View File

@@ -45,19 +45,17 @@ MD012:
# MD013/line-length - Line length
MD013:
# Number of characters
line_length: 80
line_length: 120
# Number of characters for headings
heading_line_length: 80
heading_line_length: 120
# Number of characters for code blocks
code_block_line_length: 80
code_block_line_length: 120
# Include code blocks
code_blocks: false
# Include tables
tables: false
# Include headings
headings: true
# Include headings
headers: true
# Strict length checking
strict: false
# Stern length checking
@@ -70,11 +68,6 @@ MD022:
# Blank lines below heading
lines_below: 1
# MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the same content
MD024:
# Only check sibling headings
allow_different_nesting: true
# MD025/single-title/single-h1 - Multiple top-level headings in the same document
MD025:
# Heading level
@@ -128,8 +121,7 @@ MD041:
# MD044/proper-names - Proper names should have the correct capitalization
MD044:
# List of proper names
names:
- network-tools
names: []
# Include code blocks
code_blocks: false

View File

@@ -1,4 +1,4 @@
FROM docker.io/library/rust:1.79.0-slim-buster AS build
FROM docker.io/library/rust:1.92.0-slim-bullseye AS build
ARG RPMBUILDER_VERSION=master
@@ -9,10 +9,15 @@ RUN set -e && \
# compile musl and rpm-builder
RUN set -e && \
git clone -b ${RPMBUILDER_VERSION} https://github.com/Richterrettich/rpm-builder.git /rpm-builder && \
make --directory /rpm-builder build
if [ "${RPMBUILDER_VERSION}" != "master" ]; then \
git clone -b rpm-builder-${RPMBUILDER_VERSION} https://github.com/rpm-rs/rpm-builder.git /rpm-builder; \
else \
git clone -b master https://github.com/rpm-rs/rpm-builder.git /rpm-builder; \
fi && \
cd /rpm-builder && \
cargo build --profile release
FROM docker.io/library/debian:buster-slim
FROM docker.io/library/debian:bullseye-slim
COPY --from=build /rpm-builder/target/release/rpm-builder /usr/bin/rpm-builder

View File

@@ -1,6 +1,6 @@
# RPMBUILDER_VERSION
# Only required to install a specifiy version
RPMBUILDER_VERSION?=v0.8.1 # renovate: datasource=github-releases depName=Richterrettich/rpm-builder
# Only required to install a specify version
RPMBUILDER_VERSION?=0.2.1-1 # renovate: datasource=github-releases depName=rpm-rs/rpm-builder extractVersion='rpm-builder-(?<version>\d+\.\d+\.\d+-\d+)$'
# CONTAINER_RUNTIME
# The CONTAINER_RUNTIME variable will be used to specified the path to a
@@ -9,13 +9,14 @@ CONTAINER_RUNTIME?=$(shell which podman)
# RPMBUILDER_IMAGE_REGISTRY_NAME
# Defines the name of the new container to be built using several variables.
RPMBUILDER_IMAGE_REGISTRY_NAME:=git.cryptic.systems
RPMBUILDER_IMAGE_REGISTRY_USER:=volker.raschek
RPMBUILDER_IMAGE_REGISTRY_NAME?=git.cryptic.systems
RPMBUILDER_IMAGE_REGISTRY_USER?=volker.raschek
RPMBUILDER_IMAGE_NAMESPACE?=${RPMBUILDER_IMAGE_REGISTRY_USER}
RPMBUILDER_IMAGE_NAME:=rpm-builder
RPMBUILDER_IMAGE_VERSION?=latest
RPMBUILDER_IMAGE_FULLY_QUALIFIED=${RPMBUILDER_IMAGE_REGISTRY_NAME}/${RPMBUILDER_IMAGE_NAMESPACE}/${RPMBUILDER_IMAGE_NAME}:${RPMBUILDER_IMAGE_VERSION}
RPMBUILDER_IMAGE_SUFFIX?=rs
RPMBUILDER_IMAGE_FULLY_QUALIFIED=${RPMBUILDER_IMAGE_REGISTRY_NAME}/${RPMBUILDER_IMAGE_NAMESPACE}/${RPMBUILDER_IMAGE_NAME}:${RPMBUILDER_IMAGE_VERSION}-${RPMBUILDER_IMAGE_SUFFIX}
# BUILD CONTAINER IMAGE
# ==============================================================================
@@ -34,7 +35,6 @@ container-image/build:
PHONY:=container-image/delete
container-image/delete:
- ${CONTAINER_RUNTIME} image rm ${RPMBUILDER_IMAGE_FULLY_QUALIFIED}
- ${CONTAINER_RUNTIME} image rm ${BASE_IMAGE_FULL}
# PUSH CONTAINER IMAGE
# ==============================================================================

View File

@@ -1,23 +1,20 @@
# rpm-builder-docker
# rpm-builder
[![Build Status](https://drone.cryptic.systems/api/badges/volker.raschek/rpm-builder-docker/status.svg)](https://drone.cryptic.systems/volker.raschek/rpm-builder-docker)
[![Docker Pulls](https://img.shields.io/docker/pulls/volkerraschek/rpm-builder)](https://hub.docker.com/r/volkerraschek/rpm-builder)
This project contains only build sources for the container image
`docker.io/volkerraschek/rpm-builder`. The upstream project ist hosted on
[github](https://github.com/Richterrettich/rpm-builder).
This project contains only build sources for the container image `git.cryptic.systems/volker.raschek/rpm-builder`. The
upstream project ist hosted on [github](https://github.com/Richterrettich/rpm-builder).
## Usage
Package an example application like `my-demo-application` via the following
example command.
Package an example application like `my-demo-application` via the following example command.
```bash
$ docker run \
--workdir /workspace \
--volume ${PWD}/workspace:rw \
--rm \
volkerraschek/rpm-builder:latest \
git.cryptic.systems/volker.raschek/rpm-builder:latest \
--arch=x86_64 \
--epoch=0 \
--version=0.1.0 \
@@ -35,6 +32,6 @@ You get on overview of all possible sub commands via `--help` or visit the
```bash
$ docker run \
--rm \
volkerraschek/rpm-builder:latest \
git.cryptic.systems/volker.raschek/rpm-builder:latest \
--help
```

View File

@@ -1,18 +0,0 @@
image: git.cryptic.systems/volker.raschek/rpm-builder:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
{{#if build.tags}}
tags:
{{#each build.tags}}
- {{this}}
{{/each}}
- "latest"
{{/if}}
manifests:
- image: git.cryptic.systems/volker.raschek/rpm-builder:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-amd64
platform:
architecture: amd64
os: linux
- image: git.cryptic.systems/volker.raschek/rpm-builder:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8
platform:
architecture: arm64
os: linux
variant: v8

View File

@@ -1,29 +1,9 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"assignees": [ "volker.raschek" ],
"customManagers": [
{
"customType": "regex",
"description": "Extract renovate config",
"fileMatch": [
"^Makefile$"
],
"matchStrings": [
"^[^\\s]*VERSION(:|\\?)?=\"?(?<currentValue>[\\w.]*)\"? # renovate:([\\s]+datasource=['\"]*(?<datasource>[^\\s\"']*)['\"]*|[\\s]+depName=['\"]*(?<depName>[^\\s'\"]*)['\"]*|[\\s]+registryUrl=['\"]*(?<registryUrl>[^\\s'\"]*)['\"]*|[\\s]+versioning=['\"]*(?<versioning>[^\\s'\"]*)['\"]*)*"
]
}
],
"labels": [ "renovate" ],
"packageRules": [
{
"description": "Automatically update grouped public container images - patch",
"addLabels": ["renovate/automerge","renovate/container-images"],
"automerge": true,
"enabled": true,
"matchDatasources": ["docker"],
"matchUpdateTypes": ["minor", "patch"]
}
],
"rebaseLabel": "renovate/rebase",
"rebaseWhen": "behind-base-branch"
"extends": [
"local>volker.raschek/renovate-config:default#master",
"local>volker.raschek/renovate-config:container#master",
"local>volker.raschek/renovate-config:actions#master",
"local>volker.raschek/renovate-config:regexp#master"
]
}