From b94223740a17c73f0722fde03ff6afec0fa5705b Mon Sep 17 00:00:00 2001 From: temp Date: Tue, 24 May 2022 18:23:25 -0400 Subject: [PATCH 1/2] no-op commit due to failed cherry-picking From 6f96c73972a9659597353b49357d866d77e3eb9e Mon Sep 17 00:00:00 2001 From: Michele Degges Date: Tue, 24 May 2022 18:03:55 -0700 Subject: [PATCH 2/2] Manual backport --- .github/workflows/build.yml | 3 +++ .release/ci.hcl | 14 ++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f27415ecf8b..bdc09a26c9a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -260,3 +260,6 @@ jobs: tags: | docker.io/hashicorp/${{env.repo}}:${{env.version}} public.ecr.aws/hashicorp/${{env.repo}}:${{env.version}} + dev_tags: | + docker.io/hashicorppreview/${{ env.repo }}:${{ env.version }} + docker.io/hashicorppreview/${{ env.repo }}:${{ env.version }}-${{ github.sha }} \ No newline at end of file diff --git a/.release/ci.hcl b/.release/ci.hcl index 1733b716aa3..86274227ff8 100644 --- a/.release/ci.hcl +++ b/.release/ci.hcl @@ -148,6 +148,20 @@ event "verify" { } } +event "promote-dev-docker" { + depends = ["verify"] + action "promote-dev-docker" { + organization = "hashicorp" + repository = "crt-workflows-common" + workflow = "promote-dev-docker" + depends = ["verify"] + } + + notification { + on = "fail" + } +} + ## These are promotion and post-publish events ## they should be added to the end of the file after the verify event stanza.