Compare commits
3 Commits
0ddd238012
...
f4bd642cfd
Author | SHA1 | Date | |
---|---|---|---|
f4bd642cfd | |||
965eddcbae | |||
e368908253 |
12
.drone.yml
12
.drone.yml
@ -1,6 +1,6 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: tag and create release
|
name: tag, build Docker image and create release
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: bump tag
|
- name: bump tag
|
||||||
@ -21,6 +21,16 @@ steps:
|
|||||||
GIT_PASSWORD:
|
GIT_PASSWORD:
|
||||||
from_secret: git_password
|
from_secret: git_password
|
||||||
failure: ignore
|
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
|
- image: gitea.dikurium.ch/innopeak/drone-gitea-release
|
||||||
name: create release
|
name: create release
|
||||||
settings:
|
settings:
|
||||||
|
@ -29,7 +29,7 @@ type Args struct {
|
|||||||
Owner string `envconfig:"PLUGIN_OWNER"`
|
Owner string `envconfig:"PLUGIN_OWNER"`
|
||||||
Repo string `envconfig:"PLUGIN_REPO"`
|
Repo string `envconfig:"PLUGIN_REPO"`
|
||||||
TitleFormat string `envconfig:"PLUGIN_TITLE_FORMAT"`
|
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"`
|
TagFile string `envconfig:"PLUGIN_TAG_FILE"`
|
||||||
TagRegex string `envconfig:"PLUGIN_TAG_REGEX"`
|
TagRegex string `envconfig:"PLUGIN_TAG_REGEX"`
|
||||||
NotesFile string `envconfig:"PLUGIN_NOTES_FILE"`
|
NotesFile string `envconfig:"PLUGIN_NOTES_FILE"`
|
||||||
|
Loading…
Reference in New Issue
Block a user