[Msc Bug & Documentation Fixes]: Fixed up Code Example File and Upda… #29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| build-and-push-image: | |
| if: github.repository_owner == 'exercism' # Stops this job from running on forks. | |
| uses: exercism/github-actions/.github/workflows/docker-build-push-image.yml@main | |
| secrets: | |
| AWS_ACCOUNT_ID: ${{secrets.AWS_ACCOUNT_ID}} | |
| AWS_REGION: ${{secrets.AWS_REGION}} | |
| AWS_ECR_ACCESS_KEY_ID: ${{secrets.AWS_ECR_ACCESS_KEY_ID}} | |
| AWS_ECR_SECRET_ACCESS_KEY: ${{secrets.AWS_ECR_SECRET_ACCESS_KEY}} | |
| DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}} | |
| DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}} |