From ee7756f51d19436904030502f31658a1c0af76e3 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Tue, 24 Sep 2024 22:20:22 +0200 Subject: [PATCH] Initial commit --- .woodpecker.yaml | 37 +++++++++++++++++++++++++++++++++++++ Dockerfile | 2 ++ README.md | 3 +++ 3 files changed, 42 insertions(+) create mode 100644 .woodpecker.yaml create mode 100644 Dockerfile create mode 100644 README.md diff --git a/.woodpecker.yaml b/.woodpecker.yaml new file mode 100644 index 0000000..2df85f4 --- /dev/null +++ b/.woodpecker.yaml @@ -0,0 +1,37 @@ +steps: +- name: docker + image: woodpeckerci/plugin-docker-buildx + privileged: true + settings: + registry: git.ar21.de + username: + from_secret: REGISTRY_USER + password: + from_secret: REGISTRY_PASS + repo: git.ar21.de/aaron/debian-ci + tags: latest + platforms: + - linux/arm64 + - linux/amd64 + when: + - branch: main + event: push +- name: docker-build + image: woodpeckerci/plugin-docker-buildx + privileged: true + settings: + registry: git.ar21.de + username: + from_secret: REGISTRY_USER + password: + from_secret: REGISTRY_PASS + repo: git.ar21.de/aaron/debian-ci + tags: latest + platforms: + - linux/arm64 + - linux/amd64 + dry_run: true + when: + - branch: + exclude: main + event: push diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..7ca01a1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,2 @@ +FROM debian:12.7 +RUN apt update -qq && apt install -y jq yq git curl wget && rm -rf /var/lib/apt/lists diff --git a/README.md b/README.md new file mode 100644 index 0000000..1718a09 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# debian-ci +[![status-badge](https://woodpecker.ar21.de/api/badges/11/status.svg)](https://woodpecker.ar21.de/repos/11) +versatile container for debian CIs \ No newline at end of file