Skip to content

SaraswathiRana/ecr-web-image

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Push Dockerimage to AWS ECR

AWS_ACCESS_KEY_ID: <AWS_ACCESS_KEY_ID>
AWS_SECRET_ACCESS_KEY: <AWS_SECRET_ACCESS_KEY>
  • Specify ECR_REPOSITORY_NAME in .github/workflows/docker-image.yml. In this case, ecr-web-image.
- name: Build, tag, and push image to Amazon ECR
    env:
        ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
        ECR_REPOSITORY: ecr-web-image
        IMAGE_TAG: ${{ github.sha }}
  • For every commit to master, a new docker image tagged with git sha of commit will be pushed to ECR.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 87.4%
  • PHP 6.4%
  • Dockerfile 6.2%