test aws/auth #107
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-region: eu-west-1 | |
- 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 }}' |