From 607be5e33cbe10524918a45ad2557409854dde56 Mon Sep 17 00:00:00 2001 From: Ivan Schaller Date: Sun, 12 Feb 2023 04:19:13 +0100 Subject: [PATCH] skip manifest for pre-release and switch to woodpecker images --- .woodpecker/publish_docker_manifest.yml | 2 ++ .woodpecker/publish_pre_release.yml | 18 +++++++++--------- .woodpecker/publish_release.yml | 18 +++++++++--------- 3 files changed, 20 insertions(+), 18 deletions(-) diff --git a/.woodpecker/publish_docker_manifest.yml b/.woodpecker/publish_docker_manifest.yml index a1eb7ea..9ff58e8 100644 --- a/.woodpecker/publish_docker_manifest.yml +++ b/.woodpecker/publish_docker_manifest.yml @@ -15,6 +15,7 @@ clone: image: woodpeckerci/plugin-git:v1.6.0 when: event: tag + branch: master pipeline: @@ -24,6 +25,7 @@ pipeline: pull: true when: event: tag + branch: master settings: spec: docker/manifest.tmpl auto_tag: true diff --git a/.woodpecker/publish_pre_release.yml b/.woodpecker/publish_pre_release.yml index 272d474..d90e041 100644 --- a/.woodpecker/publish_pre_release.yml +++ b/.woodpecker/publish_pre_release.yml @@ -38,32 +38,32 @@ pipeline: commands: - bash get_release_notes.sh ${CI_COMMIT_TAG%%-dev} - # publish pre-release on gitea (git.44net.ch/olofvndrhr/manga-dlp) - publish-pre-release-gitea: - image: plugins/gitea-release + # publish pre-release on github (github.com/olofvndrhr/manga-dlp) + publish-pre-release-github: + image: woodpeckerci/plugin-github-release pull: true when: event: tag tag: "*-dev" settings: api_key: - from_secret: gitea-olofvndrhr-token - base_url: https://git.44net.ch + from_secret: github-olofvndrhr-token files: dist/* title: ${CI_COMMIT_TAG} note: RELEASENOTES.md prerelease: true - # publish pre-release on github (github.com/olofvndrhr/manga-dlp) - publish-pre-release-github: - image: plugins/github-release + # publish pre-release on gitea (git.44net.ch/olofvndrhr/manga-dlp) + publish-pre-release-gitea: + image: woodpeckerci/plugin-gitea-release pull: true when: event: tag tag: "*-dev" settings: api_key: - from_secret: github-olofvndrhr-token + from_secret: gitea-olofvndrhr-token + base_url: https://git.44net.ch files: dist/* title: ${CI_COMMIT_TAG} note: RELEASENOTES.md diff --git a/.woodpecker/publish_release.yml b/.woodpecker/publish_release.yml index abfba03..2c85999 100644 --- a/.woodpecker/publish_release.yml +++ b/.woodpecker/publish_release.yml @@ -38,31 +38,31 @@ pipeline: commands: - bash get_release_notes.sh ${CI_COMMIT_TAG} - # publish release on gitea (git.44net.ch/olofvndrhr/manga-dlp) - publish-release-gitea: - image: plugins/gitea-release + # publish release on github (github.com/olofvndrhr/manga-dlp) + publish-release-github: + image: woodpeckerci/plugin-github-release pull: true when: event: tag branch: master settings: api_key: - from_secret: gitea-olofvndrhr-token - base_url: https://git.44net.ch + from_secret: github-olofvndrhr-token files: dist/* title: ${CI_COMMIT_TAG} note: RELEASENOTES.md - # publish release on github (github.com/olofvndrhr/manga-dlp) - publish-release-github: - image: plugins/github-release + # publish release on gitea (git.44net.ch/olofvndrhr/manga-dlp) + publish-release-gitea: + image: woodpeckerci/plugin-gitea-release pull: true when: event: tag branch: master settings: api_key: - from_secret: github-olofvndrhr-token + from_secret: gitea-olofvndrhr-token + base_url: https://git.44net.ch files: dist/* title: ${CI_COMMIT_TAG} note: RELEASENOTES.md