Skip to content

Commit

Permalink
update ecr secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
farrell-m committed Sep 17, 2024
1 parent a06bf92 commit 53ad55b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/on-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ jobs:
path: data-service/build/libs/data-service-${{ steps.capture_version.outputs.app_version }}.jar

ecr:
environment: development
needs: [ build-test-publish, define-image-tag ]
runs-on: ubuntu-latest
permissions:
Expand All @@ -97,8 +96,8 @@ jobs:
- name: Configure aws credentials
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: ${{ secrets.DEV_ECR_ROLE_TO_ASSUME }}
aws-region: ${{ vars.DEV_ECR_REGION }}
role-to-assume: ${{ secrets.ECR_ROLE_TO_ASSUME }}
aws-region: ${{ vars.ECR_REGION }}

- name: Login ecr
uses: aws-actions/amazon-ecr-login@v1
Expand All @@ -108,7 +107,7 @@ jobs:
- name: Build and push image
env:
REGISTRY: ${{ steps.login-ecr.outputs.registry }}
REPOSITORY: ${{ vars.DEV_ECR_REPOSITORY }}
REPOSITORY: ${{ vars.ECR_REPOSITORY }}
REPO_NAME: ${{ needs.define-image-tag.outputs.repo_name }}
APP_VERSION: ${{ needs.build-test-publish.outputs.app_version }}
run: |
Expand All @@ -124,7 +123,6 @@ jobs:
update-helm-chart:
needs: [ build-test-publish, ecr, define-image-tag ]
runs-on: ubuntu-latest
environment: development
steps:
- name: Checkout charts repo
uses: actions/checkout@v3
Expand All @@ -150,7 +148,6 @@ jobs:
update-laa-ccms-caab-ui:
needs: [ build-test-publish, define-image-tag ]
runs-on: ubuntu-latest
environment: development
steps:
- name: Checkout caab-ui repo
uses: actions/checkout@v3
Expand Down

0 comments on commit 53ad55b

Please sign in to comment.