Skip to content

Push AWS ECR

Actions

About

Push Docker image to AWS ECR
v1.1
Latest
Star (0)

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

Push AWS ECR is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Push Docker image to AWS ECR
v1.1
Latest

Push AWS ECR is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.