From 47cd47808f8fd67a60c530c8409f91bad772d839 Mon Sep 17 00:00:00 2001 From: LavMatt Date: Thu, 7 Mar 2024 09:35:41 +0000 Subject: [PATCH] update vars in deploy --- .github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5f22c096..a89a1e6e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,8 +20,8 @@ jobs: - uses: actions/checkout@v4 - uses: aws-actions/configure-aws-credentials@v2 with: - role-to-assume: ${{ secrets.ECR_ROLE_TO_ASSUME }} - aws-region: ${{ vars.ECR_REGION }} + role-to-assume: ${{ secrets.DEV_ECR_ROLE_TO_ASSUME }} + aws-region: ${{ vars.DEV_ECR_REGION }} - uses: aws-actions/amazon-ecr-login@v2 id: login-ecr - run: | @@ -29,7 +29,7 @@ jobs: docker push $REGISTRY/$REPOSITORY:$IMAGE_TAG env: REGISTRY: ${{ steps.login-ecr.outputs.registry }} - REPOSITORY: ${{ vars.ECR_REPOSITORY }} + REPOSITORY: ${{ vars.DEV_ECR_REPOSITORY }} IMAGE_TAG: ${{ github.sha }} - run: | cat deployments/templates/deployment.yml | envsubst > deployments/deployment.yml @@ -44,7 +44,7 @@ jobs: CATALOGUE_TOKEN: ${{ secrets.CATALOGUE_TOKEN }} IMAGE_TAG: ${{ github.sha }} REGISTRY: ${{ steps.login-ecr.outputs.registry }} - REPOSITORY: ${{ vars.ECR_REPOSITORY }} + REPOSITORY: ${{ vars.DEV_ECR_REPOSITORY }} NAMESPACE: ${{ secrets.KUBE_NAMESPACE }} - run: | echo "${{ secrets.KUBE_CERT }}" > ca.crt