build: add Docker image (#17017)

Co-authored-by: Daniel Kimsey <90741+dekimsey@users.noreply.github.com>
This commit is contained in:
Luiz Aoqui
2023-06-23 15:57:09 -04:00
committed by GitHub
parent aea6146656
commit b7c2d65a0e
6 changed files with 124 additions and 37 deletions

View File

@@ -66,6 +66,20 @@ event "promote-staging" {
}
}
event "promote-staging-docker" {
depends = ["promote-staging"]
action "promote-staging-docker" {
organization = "hashicorp"
repository = "crt-workflows-common"
workflow = "promote-staging-docker"
}
notification {
on = "always"
}
}
event "trigger-production" {
// This event is dispatched by the bob trigger-promotion command // and is required - do not delete.
}
@@ -84,9 +98,23 @@ event "promote-production" {
}
}
event "promote-production-packaging" {
event "promote-production-docker" {
depends = ["promote-production"]
action "promote-production-docker" {
organization = "hashicorp"
repository = "crt-workflows-common"
workflow = "promote-production-docker"
}
notification {
on = "always"
}
}
event "promote-production-packaging" {
depends = ["promote-production-docker"]
action "promote-production-packaging" {
organization = "hashicorp"
repository = "crt-workflows-common"