Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically push Docker image to Amazon ECR #4

Merged
merged 1 commit into from
Nov 5, 2020
Merged

Conversation

ErikSchierboom
Copy link
Member

The v3 website uses Docker images from Amazon ECR for all the tooling.
Each tooling repo should have a workflow to automatically push to Amazon ECR whenever something is merged to master.

This PR adds a GitHub Actions workflow to automatically build and push a new Docker image whenever something is merged to master.

See exercism/v3#2728

@NobbZ
Copy link
Member

NobbZ commented Nov 5, 2020

May I ask why they are pushed to the docker hub and ECR?

@iHiD
Copy link
Member

iHiD commented Nov 5, 2020

May I ask why they are pushed to the docker hub and ECR?

  • DockerHub is public (so people can use the Docker repos to develop).
  • ECR is private-only, so its used internally.

Other than the website load balancer, none of our internal AWS services have network access outside of AWS, so cannot reach DockerHub.

@NobbZ NobbZ merged commit fc3d42b into master Nov 5, 2020
@NobbZ NobbZ deleted the ci-amazon-ecr branch November 5, 2020 16:55
@NobbZ
Copy link
Member

NobbZ commented Nov 5, 2020

Thanks for the explanation.

This actually also reminded me to hit the merge button :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants