Skip to content

Commit

Permalink
skip manifest for pre-release and switch to woodpecker images
Browse files Browse the repository at this point in the history
  • Loading branch information
olofvndrhr committed Feb 12, 2023
1 parent 5885b52 commit 607be5e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 18 deletions.
2 changes: 2 additions & 0 deletions .woodpecker/publish_docker_manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ clone:
image: woodpeckerci/plugin-git:v1.6.0
when:
event: tag
branch: master

pipeline:

Expand All @@ -24,6 +25,7 @@ pipeline:
pull: true
when:
event: tag
branch: master
settings:
spec: docker/manifest.tmpl
auto_tag: true
Expand Down
18 changes: 9 additions & 9 deletions .woodpecker/publish_pre_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 9 additions & 9 deletions .woodpecker/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 607be5e

Please sign in to comment.