Skip to content

Olixc/ecr-apache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Name

This project provides a workflow to push a Docker image to Amazon Elastic Container Registry (ECR) and pull the image from ECR. It utilizes GitHub Actions to automate the process.

Prerequisites

  • Docker: Make sure Docker is installed on your local machine.

Usage

  1. Clone the repository: git clone <repository-url>

  2. Change directory to the project dIRECTORY cd project-directory

  3. Run the following commands to push the image to ECR and pull the image from ECR: git add . git commit -m "Update workflow and credentials" git push origin main docker pull <ECR_REGISTRY>/<ECR_REPOSITORY>:<IMAGE_TAG> docker run -d -p <HOST_PORT>:<CONTAINER_PORT> <ECR_REGISTRY>/<ECR_REPOSITORY>:<IMAGE_TAG>

Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Feel free to modify and customize the README to match the specific details and requirements of your project. I hope this is helpful! Let me know if you have any other questions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published