Skip to content

Docker QEMU Buildx ECR Action - supports multi platform builds including linux/arm64 and ECR Push

License

Notifications You must be signed in to change notification settings

bbharathkumarreddy/docker-qemu-buildx-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

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-qemu-buildx-ecr-action

Docker QEMU Buildx ECR Action - supports multi platform builds including linux/arm64 and ECR Push

Usage

name: ci

on:
  push:

jobs:
  qemu:
    runs-on: ubuntu-latest
    steps:
      - name: Docker QEMU Buildx ECR
        uses: bbharathkumarreddy/docker-qemu-buildx-ecr-action@v1.0
        with:
          platform: linux/arm64
          ecr-push: true
          aws-access-key-id: ${{ secrets.aws-access-key-id }}
          aws-secret-access-key: ${{ secrets.aws-secret-access-key }}
          aws-region: ${{ vars.aws-region }}
          ecr-repository: my-service
          ecr-tag: latest

Customizing

inputs

The following inputs can be used as step.with keys:

Name Type Default Description
platform String linux/arm64 Platform architecture to build.
ecr-push Boolean true Set to true to push the docker build to ECR repository. aws.* and ecr.* inputs to be given if set to true.
aws-access-key-id String Pass the AWS access key id.
aws-secret-access-key String Pass the AWS secret access key.
aws-region String Pass the AWS region of the ECR repository.
ecr-repository String Pass the ECR repository name.
ecr-tag String latest Pass ECR tag to push.

Contributing

Want to contribute? ✅

About

Docker QEMU Buildx ECR Action - supports multi platform builds including linux/arm64 and ECR Push

Resources

License

Stars

Watchers

Forks