From 391d3ffa121280bed9be735bdb7905caca7035cf Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Thu, 10 Oct 2024 21:52:15 +0200 Subject: [PATCH] woodpecker --- .drone.yml | 19 ------------------- .woodpecker.yaml | 29 +++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 19 deletions(-) delete mode 100644 .drone.yml create mode 100644 .woodpecker.yaml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index de76983..0000000 --- a/.drone.yml +++ /dev/null @@ -1,19 +0,0 @@ -kind: pipeline -type: kubernetes -name: nexus-container - -steps: -- name: docker-build - image: plugins/docker - settings: - username: - from_secret: DOCKER_USERNAME - password: - from_secret: DOCKER_PASSWORD - repo: aaronriedel/nexus - tags: latest -when: - branch: - - main - event: - - push \ No newline at end of file diff --git a/.woodpecker.yaml b/.woodpecker.yaml new file mode 100644 index 0000000..77ff49a --- /dev/null +++ b/.woodpecker.yaml @@ -0,0 +1,29 @@ +steps: +- name: docker + image: woodpeckerci/plugin-docker-buildx + settings: + registry: git.ar21.de + username: + from_secret: REGISTRY_USER + password: + from_secret: REGISTRY_PASS + repo: git.ar21.de/aaron/nexus + tags: latest + when: + - branch: main + event: [push, manual] +- name: docker-build + image: woodpeckerci/plugin-docker-buildx + settings: + registry: git.ar21.de + username: + from_secret: REGISTRY_USER + password: + from_secret: REGISTRY_PASS + repo: git.ar21.de/aaron/nexus + tags: latest + dry_run: true + when: + - branch: + exclude: main + event: [push, manual]