exercism / go-analyzer

GNU Affero General Public License v3.0
10 stars 12 forks source link

[CI] Add workflow to push Docker image to Dockerhub and ECR #14

Closed ErikSchierboom closed 3 years ago

ErikSchierboom commented 3 years ago

This PR adds a GitHub Actions workflow to automatically push a new version of this repo's Docker image to both Dockerhub and ECR. The former is used when running the tooling on your local machine using the development environment, the latter is currently used when running the tooling on our staging environment (https://exercism.lol/) but will eventually be used for our production website.

We've sent PRs to tooling repos before related to this functionality, but those PRs added two separate workflows for pushing to Dockerhub and ECR. With this PR, these workflows have been merged into a single workflow, which is much more efficient. If present, the old workflows will be removed in this PR.

See https://github.com/exercism/v3/issues/2969