Skip to content

Commit

Permalink
Create credentials_test
Browse files Browse the repository at this point in the history
  • Loading branch information
brndysgit authored Oct 11, 2024
1 parent 5b15416 commit 2efb035
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/credentials_test
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Credentials Test

on:
pull_request:
branches:
- serving-publish
push:
branches:
- serving-publish

permissions:
id-token: write
contents: read

jobs:
test-aws-credentials:
runs-on: ubuntu-latest
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::185921645874:role/github-actions-djl-serving
aws-region: us-west-2
- name: Verify AWS Credentials
run: |
aws sts get-caller-identity

0 comments on commit 2efb035

Please sign in to comment.