Skip to content

vitr-docker-images/aws-eb-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Docker Image for AWS Elastic Beanstalk CLI

GHCR-Badges

Description

This repository provides a Docker image to run the AWS Elastic Beanstalk Command Line Interface (EB CLI) without requiring local installation. It is optimized for use within GitHub Actions but can also be used in any Docker-enabled environment.

Usage

GitHub Actions

To use this Docker image in a GitHub Actions workflow, you can add a step in your .github/workflows/main.yml as shown below:

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout code
      uses: actions/checkout@v2

    - name: Run EB CLI
      uses: docker://ghcr.io/vitr-docker-images/aws-eb-cli:3.14.13
      with:
        args: "deploy"

Local Usage

To use the image locally, you can follow these steps:

  1. Pull the image from GitHub Container Registry:

    docker pull ghcr.io/your-github-username/your-image-name:tag
  2. Run a container using this image:

    docker run --rm ghcr.io/vitr-docker-images/aws-eb-cli:3.14.13 --version

Motivation

🔥 💻 If you got AWS EB CLI to work, hats off to you! 🎩 👏
🏨 Your next stop? A spa day to find your lost Zen. 💆
🍵 Or, at the very least, brew a strong cup of chamomile tea. Your nerves will thank you! 😌