Skip to content
ECR + Github actions demo
Dockerfile HCL
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
terraform
.gitignore
Dockerfile
README.md

README.md

Build and publish docker image to AWS ECR

ecr-actions-demo

A simple demo to demonstrate how to create an ECR repo and have github actions build and deploy a simple docker image. For the sake of this demo we are using the cloudflared as an example docker image that gets built using github actions.

Terraform

Create an ECR repo using terraform code under the terraform/ subfolder. This requires terraform >= v0.12.

$ cd terraform
$ terraform init
$ terraform plan
$ terraform apply
You can’t perform that action at this time.