Skip to content

Github Action to create an AWS Elastic Container Registry repository

License

Notifications You must be signed in to change notification settings

cookiecutter-openedx/aws-ecr-create

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

hack.d Lawrence McDaniel

AWS Docker Kubernetes

aws-ecr-create

Creates an AWS Elastic Container Registry repository if it does not already exist.

Usage:

name: Example workflow

on: workflow_dispatch

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      # required antecedent
      - uses: actions/checkout@v1

      # required antecedent
      - name: Configure AWS credentials
        uses: aws-actions/configure-aws-credentials@v1
        with:
          aws-access-key-id: ${{ secrets.THE_NAME_OF_YOUR_AWS_ACCESS_KEY_ID }}
          aws-secret-access-key: ${{ secrets.THE_NAME_OF_YOUR_AWS_SECRET_ACCESS_KEY }}
          aws-region: us-east-2

      # This action
      - name: Create an AWS ECR repository
        uses: openedx-actions/create-aws-ecr-repository
        with:
          aws-ecr-repository: my_new_repo

About

Github Action to create an AWS Elastic Container Registry repository

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published