Compare commits

...

3 Commits

Author SHA1 Message Date
f4bd642cfd Merge branch 'main' of https://gitea.dikurium.ch/InnoPeak/drone-gitea-release
Some checks are pending
continuous-integration/drone/push Build is running
2024-06-25 15:09:28 +02:00
965eddcbae feat: set default of use_latest_git_tag to true 2024-06-25 15:09:28 +02:00
e368908253 ci: 👷 publish Docker image during release 2024-06-25 15:09:17 +02:00
2 changed files with 12 additions and 2 deletions

View File

@ -1,6 +1,6 @@
kind: pipeline
type: kubernetes
name: tag and create release
name: tag, build Docker image and create release
steps:
- name: bump tag
@ -21,6 +21,16 @@ steps:
GIT_PASSWORD:
from_secret: git_password
failure: ignore
- name: publish Docker image
image: plugins/docker
settings:
registry: gitea.dikurium.ch
repo: gitea.dikurium.ch/innopeak/drone-gitea-release
auto_tag: true
username:
from_secret: docker_username
password:
from_secret: docker_password
- image: gitea.dikurium.ch/innopeak/drone-gitea-release
name: create release
settings:

View File

@ -29,7 +29,7 @@ type Args struct {
Owner string `envconfig:"PLUGIN_OWNER"`
Repo string `envconfig:"PLUGIN_REPO"`
TitleFormat string `envconfig:"PLUGIN_TITLE_FORMAT"`
UseLatestGitTag bool `envconfig:"PLUGIN_USE_LATEST_GIT_TAG"`
UseLatestGitTag bool `envconfig:"PLUGIN_USE_LATEST_GIT_TAG" default: "true"`
TagFile string `envconfig:"PLUGIN_TAG_FILE"`
TagRegex string `envconfig:"PLUGIN_TAG_REGEX"`
NotesFile string `envconfig:"PLUGIN_NOTES_FILE"`