Skip to content

hands-lab/push-ecr-action

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Push ECR Action

GitHub

Push Docker or OCI image to AWS ECR

Feature

  • Login AWS ECR
  • Change image tag
    • Add AWS ECR registry to the beginning of the image name
  • Push Docker or OCI image

Usage

steps:
  - uses: hands-lab/push-ecr-action@v1
    with:
      image: demo
      aws-access-key-id: ${{ secret.AWS_ACCESS_KEY_ID }}
      aws-secret-access-key: ${{ secret.AWS_SECRET_ACCESS_KEY }}
      aws-region: ${{ secret.AWS_REGION }}
      aws-account-id: ${{ secret.AWS_ACCOUNT_ID }}

Inputs

Name Type Required Default Description
image string true image name
aws-access-key-id string true AWS Access Key ID
aws-secret-access-key string true AWS Secret Access Key
aws-region string true AWS Region
aws-account-id string true AWS Account ID

About

Push Docker or OCI image to AWS ECR

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors