From 4246b0ba57520b78099c8d6ccdca3765c4eda3d4 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 4 Apr 2023 16:47:37 -0300 Subject: [PATCH 1/5] BREAKING CHANGE: use public registry --- .woodpecker.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 9d56a76..0f39c6e 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -2,9 +2,10 @@ pipeline: publish: image: "plugins/docker" settings: - registry: "registry.nulo.in" + registry: "https://gitea.nulo.in" username: "sutty" - repo: "registry.nulo.in/sutty/monit" + password: "${REGISTRY_TOKEN}" + repo: "gitea.nulo.in/sutty/monit" tags: - "${ALPINE_VERSION}" - "latest" @@ -13,7 +14,7 @@ pipeline: - "BASE_IMAGE=alpine" purge: false secrets: - - "docker_password" + - "REGISTRY_TOKEN" when: branch: "antifascista" event: "push" From c7eafaed22b6887bed0bcd32faab34730d10fd6c Mon Sep 17 00:00:00 2001 From: f Date: Tue, 4 Apr 2023 16:53:13 -0300 Subject: [PATCH 2/5] fix: use woodpecker plugin --- .woodpecker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 0f39c6e..4b0613c 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,6 +1,6 @@ pipeline: publish: - image: "plugins/docker" + image: "docker.io/woodpeckerci/plugin-docker-buildx" settings: registry: "https://gitea.nulo.in" username: "sutty" From 6f246db0030dc6f6e695f3999b9520c34222628e Mon Sep 17 00:00:00 2001 From: f Date: Tue, 4 Apr 2023 16:57:39 -0300 Subject: [PATCH 3/5] fix: when thing don't work according to docs --- .woodpecker.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 4b0613c..44968a4 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -4,7 +4,6 @@ pipeline: settings: registry: "https://gitea.nulo.in" username: "sutty" - password: "${REGISTRY_TOKEN}" repo: "gitea.nulo.in/sutty/monit" tags: - "${ALPINE_VERSION}" @@ -14,7 +13,7 @@ pipeline: - "BASE_IMAGE=alpine" purge: false secrets: - - "REGISTRY_TOKEN" + - "DOCKER_PASSWORD" when: branch: "antifascista" event: "push" From da19bd76f89938702ce9ad935c731ce3e0d21cfe Mon Sep 17 00:00:00 2001 From: f Date: Tue, 4 Apr 2023 17:22:42 -0300 Subject: [PATCH 4/5] BREAKING CHANGE: use public gitea registry --- .woodpecker.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 6ac6b3e..9d0356d 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,10 +1,10 @@ pipeline: publish: - image: "plugins/docker" + image: "docker.io/woodpeckerci/plugin-docker-buildx" settings: - registry: "registry.nulo.in" + registry: "https://gitea.nulo.in" username: "sutty" - repo: "registry.nulo.in/sutty/CHANGEME" + repo: "gitea.nulo.in/sutty/CHANGEME" tags: - "${ALPINE_VERSION}" - "latest" @@ -12,7 +12,7 @@ pipeline: - "ALPINE_VERSION=${ALPINE_VERSION}" - "BASE_IMAGE=registry.nulo.in/sutty/monit" secrets: - - "docker_password" + - "DOCKER_PASSWORD" when: branch: "antifascista" event: "push" From 24c31e7eb8af8dfe696fc0e853e0098eba57c971 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 4 Apr 2023 18:03:42 -0300 Subject: [PATCH 5/5] fix: base registry --- .woodpecker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 9d0356d..7f8be73 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -10,7 +10,7 @@ pipeline: - "latest" build_args: - "ALPINE_VERSION=${ALPINE_VERSION}" - - "BASE_IMAGE=registry.nulo.in/sutty/monit" + - "BASE_IMAGE=gitea.nulo.in/sutty/monit" secrets: - "DOCKER_PASSWORD" when: