Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
uses: aws-actions/configure-aws-credentials@v6
with:
aws-region: eu-central-1
role-to-assume: ${{ vars.AWS_ROLE_TO_ASSUME }}
role-to-assume: ${{ vars.AWS_ASSUME_ROLE_ARN_ECR }}
- name: Create ECR repository if it doesn't exist
run: |
if ! aws ecr describe-repositories --repository-names ${{ github.event.deployment.payload.name || inputs.appName }} 2>/dev/null; then
Expand Down Expand Up @@ -198,7 +198,7 @@ jobs:
uses: aws-actions/configure-aws-credentials@v6
with:
aws-region: eu-central-1
role-to-assume: ${{ vars.AWS_ROLE_TO_ASSUME }}
role-to-assume: ${{ vars.AWS_ASSUME_ROLE_ARN_ECR }}
- name: Create ${{ matrix.containerfile_targets }} ECR repository if it doesn't exist
run: |
if ! aws ecr describe-repositories --repository-names ${{ github.event.deployment.payload.name || inputs.appName }}-${{ matrix.containerfile_targets }} 2>/dev/null; then
Expand Down Expand Up @@ -284,7 +284,7 @@ jobs:
uses: aws-actions/configure-aws-credentials@v6
with:
aws-region: eu-central-1
role-to-assume: ${{ vars.AWS_ROLE_TO_ASSUME }}
role-to-assume: ${{ vars.AWS_ASSUME_ROLE_ARN_ECR }}
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
uses: aws-actions/configure-aws-credentials@v6
with:
aws-region: eu-central-1
role-to-assume: ${{ vars.AWS_ROLE_TO_ASSUME }}
role-to-assume: ${{ vars.AWS_ASSUME_ROLE_ARN_ECR }}
- name: Create ECR repository if it doesn't exist
run: |
aws ecr describe-repositories --repository-names ${{ inputs.appName }} || \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview.build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
uses: aws-actions/configure-aws-credentials@v6
with:
aws-region: eu-central-1
role-to-assume: ${{ vars.AWS_ROLE_TO_ASSUME }}
role-to-assume: ${{ vars.AWS_ASSUME_ROLE_ARN_ECR }}
- name: Create ECR repository if it doesn't exist
run: |
if ! aws ecr describe-repositories --repository-names ${{ inputs.APPLICATION_NAME }} 2>/dev/null; then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview.remove-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: aws-actions/configure-aws-credentials@v6
with:
aws-region: eu-central-1
role-to-assume: ${{ vars.AWS_ROLE_TO_ASSUME }}
role-to-assume: ${{ vars.AWS_ASSUME_ROLE_ARN_ECR }}
- name: Remove preview tag from ECR
run: |
# Check if repository exists
Expand Down
Loading