Skip to content

test aws/auth

test aws/auth #108

Workflow file for this run

name: release
on:
pull_request: ~
# workflow_dispatch:
# push:
# tags:
# - v*.*.*
env:
DOCKER_BUILDKIT: 1
DOCKER_REGISTRY: docker.elastic.co
DOCKER_IMAGE_NAME: observability/apm-lambda-extension
permissions:
contents: write
id-token: write
pull-requests: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: elastic/oblt-actions/aws/auth@feature/aws-auth
with:
aws-account-id: "267093732750"
- run: aws ec2 describe-regions
oidc_debug_test:
permissions:
contents: read
id-token: write
runs-on: ubuntu-latest
name: A test of the oidc debugger
steps:
- name: Checkout actions-oidc-debugger
uses: actions/checkout@v3
with:
repository: github/actions-oidc-debugger
ref: main
token: ${{ github.token }}
path: ./.github/actions/actions-oidc-debugger
- name: Debug OIDC Claims
uses: ./.github/actions/actions-oidc-debugger
with:
audience: '${{ github.server_url }}/${{ github.repository_owner }}'