Skip to content

Commit

Permalink
ci: update Docker release
Browse files Browse the repository at this point in the history
  • Loading branch information
lgfa29 committed May 9, 2023
1 parent a2a39f3 commit 787bebb
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
30 changes: 29 additions & 1 deletion .release/ci.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -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.
}
Expand All @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

FROM busybox:1.36.0 as release
# busybox:v1.36.0
FROM busybox@sha256:acaddd9ed544f7baf3373064064a51250b14cfe3ec604d65765a53da5958e5f5 as release

ARG PRODUCT_NAME=nomad
ARG PRODUCT_VERSION
Expand Down
2 changes: 2 additions & 0 deletions website/content/docs/install/production/requirements.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ The [`hashicorp/nomad`][nomad_docker_hub] Docker image is intended to be used
in automated pipelines for [CLI operations][docs_cli], such as
[`nomad job plan`][], [`nomad fmt`][], and others.

~> **Note:** The Nomad Docker image is not tested when running as an agent.

[Security Model]: /nomad/docs/concepts/security
[production deployment guide]: /nomad/tutorials/enterprise/production-deployment-guide-vm-with-consul#configure-systemd
[linux capabilities]: #linux-capabilities
Expand Down

0 comments on commit 787bebb

Please sign in to comment.