Update CI/CD

This commit is contained in:
alexsanderp
2022-02-04 10:56:57 -03:00
parent 2229ef9f9d
commit 3193354bea
+12 -4
View File
@@ -13,14 +13,22 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Update Pip
run: |
python3 -m pip install --upgrade pip
- name: Install Docker Compose
run: |
python3 -m pip install docker-compose
python3 -m pip install docker-compose --upgrade
- name: Install AWS CLI
run: |
python3 -m pip install awscli
.
python3 -m pip install awscli --upgrade
- name: Install AWS Elastic Beanstalk ClI
run: |
python3 -m pip install awsebcli --upgrade
- name: Configure AWS Region
uses: aws-actions/configure-aws-credentials@v1
with:
@@ -42,8 +50,8 @@ jobs:
- name: Build, Tag, and Push Image to AWS ECR
env:
IMAGE_TAG: latest
ENV: ${{ steps.extract_environment.outputs.result }}
IMAGE_TAG: latest
run: |
export ENV=$ENV
docker-compose build