Skip to content

Commit

Permalink
Let's use credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
namse committed Nov 29, 2023
1 parent 10fd152 commit c2ca8ce
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/oioi.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: oioi
on:
push
push:
paths:
- "oioi/**"
- ".github/workflows/oioi.yml"
# push:
# branches:
# - master
Expand Down Expand Up @@ -36,6 +39,12 @@ jobs:
with:
install: true

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::${{ env.AWS_ACCOUNT_ID }}:role/github-actions-role
aws-region: ${{ env.AWS_DEFAULT_REGION }}

- name: Login to Amazon ECR
id: login-ecr-public
uses: aws-actions/amazon-ecr-login@v2
Expand Down

0 comments on commit c2ca8ce

Please sign in to comment.