mirror of
https://github.com/peter-evans/dockerhub-description.git
synced 2024-11-22 03:59:34 +01:00
Update main.workflow
This commit is contained in:
parent
ff4c066a7a
commit
9e8150a63d
1 changed files with 15 additions and 0 deletions
15
.github/main.workflow
vendored
Normal file
15
.github/main.workflow
vendored
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
workflow "Docker Hub Description Workflow" {
|
||||||
|
on = "push"
|
||||||
|
resolves = ["Docker Hub Description"]
|
||||||
|
}
|
||||||
|
|
||||||
|
action "Filter master branch" {
|
||||||
|
uses = "actions/bin/filter@v1.0.0"
|
||||||
|
args = "branch master"
|
||||||
|
}
|
||||||
|
|
||||||
|
action "Docker Hub Description" {
|
||||||
|
needs = ["Filter master branch"]
|
||||||
|
uses = "./"
|
||||||
|
secrets = ["DOCKERHUB_USERNAME", "DOCKERHUB_PASSWORD", "DOCKERHUB_REPOSITORY"]
|
||||||
|
}
|
Loading…
Reference in a new issue