Skip to content

Github Action to build and publish a Docker image to Amazon ECR.

Notifications You must be signed in to change notification settings

easymountain-mhikes/action-docker-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Docker image Action

Github Action to build and publish a Docker image to Amazon ECR.

Usage

- name: Checkout repo
  uses: actions/checkout@v4

- name: Build artifact
  run: |
    some build commands...

- name: Build image and push to Amazon ECR
  uses: easymountain-mhikes/action-docker-image@v1
  with:
      aws-access-key-id: ${{ secrets.aws-access-key-id }}
      aws-secret-access-key: ${{ secrets.aws-secret-access-key }}
      repository: my-ecr-repo
      tag: ${{ github.sha }}

About

Github Action to build and publish a Docker image to Amazon ECR.

Resources

Stars

Watchers

Forks

Packages

No packages published