mirror of
https://github.com/elgohr/Publish-Docker-Github-Action.git
synced 2026-03-12 18:07:12 -04:00
Introduce auto-release
This commit is contained in:
15
.github/main.workflow
vendored
15
.github/main.workflow
vendored
@@ -1,8 +1,19 @@
|
||||
workflow "Publish Docker" {
|
||||
workflow "Release" {
|
||||
on = "push"
|
||||
resolves = ["create release"]
|
||||
}
|
||||
|
||||
action "create release" {
|
||||
uses = "elgohr/Github-Hub-Action@1.0"
|
||||
args = "release create $(date +%Y%m%d%H%M%S)"
|
||||
secrets = ["GITHUB_TOKEN"]
|
||||
}
|
||||
|
||||
workflow "Publish Docker" {
|
||||
resolves = [
|
||||
"logout"
|
||||
"logout",
|
||||
]
|
||||
on = "release"
|
||||
}
|
||||
|
||||
action "login" {
|
||||
|
||||
Reference in New Issue
Block a user