Skip to content

Commit

Permalink
Korjattu buildia
Browse files Browse the repository at this point in the history
  • Loading branch information
augustk committed Oct 4, 2024
1 parent 4be92ee commit ca95291
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/build-dbt-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ jobs:
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2

- name: Login to docker with ECR
uses: docker/login-action@v3
with:
registry: ${{ steps.ecr-login.outputs.registry }}

- name: Build, tag, and push docker image to Amazon ECR
env:
REGISTRY: ${{ steps.login-ecr.outputs.registry }}
Expand Down
2 changes: 1 addition & 1 deletion utility/cdk/lib/ecr-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class EcrStack extends cdk.Stack {
githubOidcProvider.openIdConnectProviderArn,
{
StringLike: {
'token.actions.githubusercontent.com:sub': 'repo:opetushallitus/ovara',
'token.actions.githubusercontent.com:sub': 'repo:Opetushallitus/ovara',
'token.actions.githubusercontent.com:aud': 'sts.amazonaws.com',
},
},
Expand Down

0 comments on commit ca95291

Please sign in to comment.