From efd1adae0ff65b1b908181dd8e1ee47f09b23108 Mon Sep 17 00:00:00 2001 From: crapStone Date: Tue, 23 Jul 2024 19:50:54 +0000 Subject: [PATCH] fix woodpecker pipeline definition (#370) use https://woodpecker-ci.org/plugins/Release instead of the old drone plugin Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/370 Co-authored-by: crapStone Co-committed-by: crapStone --- .woodpecker/build.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml index ea38374..bff5c9b 100644 --- a/.woodpecker/build.yml +++ b/.woodpecker/build.yml @@ -18,6 +18,7 @@ steps: build: depends_on: vendor image: codeberg.org/6543/docker-images/golang_just + pull: true commands: - go version - just build @@ -45,6 +46,7 @@ steps: build-tag: depends_on: vendor image: codeberg.org/6543/docker-images/golang_just + pull: true commands: - go version - just build-tag ${CI_COMMIT_TAG##v} @@ -56,6 +58,7 @@ steps: test: depends_on: build image: codeberg.org/6543/docker-images/golang_just + pull: true commands: - just test when: @@ -66,6 +69,7 @@ steps: integration-tests: depends_on: build image: codeberg.org/6543/docker-images/golang_just + pull: true commands: - just integration environment: @@ -80,18 +84,13 @@ steps: release: depends_on: build - image: plugins/gitea-release:1.1.0 + image: woodpeckerci/plugin-release:0.1.0 settings: base_url: https://codeberg.org file_exists: overwrite files: build/codeberg-pages-server api_key: from_secret: bot_token - environment: - - CI_REPO_OWNER=${CI_REPO_OWNER} - - CI_REPO_NAME=${CI_REPO_NAME} - - CI_BUILD_EVENT=${CI_BUILD_EVENT} - - CI_COMMIT_REF=${CI_COMMIT_REF} when: - event: ['tag'] branch: