From 5a0c04379921381ecd79532c85252fc01c7cc64f Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Tue, 14 Feb 2023 11:58:22 +0100 Subject: [PATCH] initial commit --- .drone.yml | 35 +++++++++++++++++++++++++++++++++++ Dockerfile | 4 ++++ README.md | 3 +++ renovate.json | 10 ++++++++++ 4 files changed, 52 insertions(+) create mode 100644 .drone.yml create mode 100644 Dockerfile create mode 100644 README.md create mode 100644 renovate.json diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..ca65f13 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,35 @@ +kind: pipeline +name: deploy + +steps: +- name: docker + image: plugins/docker + settings: + username: + from_secret: DOCKER_USERNAME + password: + from_secret: DOCKER_PASSWORD + repo: aaronriedel/kustomize-ci + tags: latest + when: + branch: + - main + event: + - push + +- name: docker-build + image: plugins/docker + settings: + username: + from_secret: DOCKER_USERNAME + password: + from_secret: DOCKER_PASSWORD + repo: aaronriedel/kustomize-ci + tags: latest + dry_run: true + when: + exclude: + branch: + - main + event: + - push \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5e4c035 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM alpine:3.17.1 +RUN apk add --no-cache git curl bash +RUN curl -s https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh | bash +RUN mv /kustomize /bin/kustomize diff --git a/README.md b/README.md new file mode 100644 index 0000000..b3b7053 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# kustomize-ci Image + +Alpine + git + kustomize \ No newline at end of file diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..04a4f6a --- /dev/null +++ b/renovate.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "packageRules": [ + { + "matchPackagePatterns": ["*"], + "automerge": true, + "automergeType": "branch" + } + ] +}