From 92983fc6747862709278e6ccc271d9ba14ec9678 Mon Sep 17 00:00:00 2001 From: a1012112796 <1012112796@qq.com> Date: Tue, 8 Nov 2022 10:04:21 +0800 Subject: [PATCH] init commit Signed-off-by: a1012112796 <1012112796@qq.com> --- .drone.yml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ Dockerfile | 10 ++++++++++ READEME.md | 1 + 3 files changed, 59 insertions(+) create mode 100644 .drone.yml create mode 100644 Dockerfile create mode 100644 READEME.md diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..5d9e6e9 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,48 @@ +--- +kind: pipeline +name: linux-amd64 + +platform: + os: linux + arch: amd64 + +trigger: + branch: + - master + event: + - push + +steps: + - name: publish + pull: always + image: plugins/docker:linux-amd64 + settings: + registry: www.zhao1012112796.top + auto_tag: true + auto_tag_suffix: linux-amd64 + repo: www.zhao1012112796.top/a1012112796/dpkg-buildpackage + password: + from_secret: docker_password + username: + from_secret: docker_username + +--- +kind: pipeline +name: dry-run + +platform: + os: linux + arch: amd64 + +trigger: + event: + - pull_request + +steps: + - name: dryrun + pull: always + image: plugins/docker:linux-amd64 + settings: + dry_run: true + repo: a1012112796/dpkg-buildpackage + tags: linux-amd64 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0938618 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM ubuntu:20.04 +ENV DEBIAN_FRONTEND noniteractive + +RUN apt-get -qq update && apt-get -qq -y --no-install-recommends install \ + automake \ + autoconf \ + build-essential \ + cmake \ + debhelper \ + devscripts diff --git a/READEME.md b/READEME.md new file mode 100644 index 0000000..54898db --- /dev/null +++ b/READEME.md @@ -0,0 +1 @@ +## deb builder ci env