Skip to content

Commit

Permalink
Add AWS CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarrous committed Feb 5, 2024
1 parent f9526d9 commit b27b430
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build Docker Image
- name: Install AWS CLI
run: |
docker build -t my-image-name:latest .
if ! command -v aws &> /dev/null
then
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
fi
aws --version

0 comments on commit b27b430

Please sign in to comment.