Skip to content

Commit

Permalink
[CI-only] Build and publish dev dockerhub images (#11790)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeggies authored May 20, 2022
1 parent cec4f91 commit a8bbf7a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,3 +256,6 @@ jobs:
public.ecr.aws/hashicorp/${{ env.REPO_NAME }}:light
public.ecr.aws/hashicorp/${{ env.REPO_NAME }}:light-${{ env.version }}
public.ecr.aws/hashicorp/${{ env.REPO_NAME }}:${{ env.version }}
dev_tags: |
docker.io/hashicorppreview/${{ env.REPO_NAME }}:${{ env.version }}
docker.io/hashicorppreview/${{ env.REPO_NAME }}:${{ env.version }}-${{ github.sha }}
14 changes: 14 additions & 0 deletions .release/ci.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,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.

Expand Down

0 comments on commit a8bbf7a

Please sign in to comment.