Skip to content

Commit

Permalink
fix: set ECR registry env var
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinebrasil committed Dec 8, 2024
1 parent c1ac071 commit b8260b2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

outputs:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}

steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -42,6 +42,8 @@ jobs:

- name: Build container image for development
id: build-image-dev
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
run: |
# Build image container using commit SHA with dev suffix
VERSION=${{ github.sha }}-dev
Expand All @@ -55,6 +57,8 @@ jobs:
run: aws eks --region $AWS_REGION update-kubeconfig --name $EKS_CLUSTER_NAME

- name: Deploy to EKS cluster in development namespace
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
run: |
source $GITHUB_ENV
Expand Down

0 comments on commit b8260b2

Please sign in to comment.