Skip to content

Commit

Permalink
obtain oidc token to use quay image
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-codefresh committed Dec 31, 2023
1 parent 6d1273c commit 220dd44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions incubating/aws-sts-assume-role-with-web-identity/step.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ metadata:
ROLE_SESSION_NAME: session-name
s3_list_objects:
title: List S3 Objects
image: quay.io/jland/aws-cli:2.8.12
image: amazon/aws-cli
commands:
- aws s3 ls "s3://bucket-name/"
- description: example-with-id-token-from-environment-variable
Expand All @@ -58,7 +58,7 @@ metadata:
WEB_IDENTITY_TOKEN: ${{ID_TOKEN}}
s3_list_objects:
title: List S3 Objects
image: quay.io/jland/aws-cli:2.8.12
image: amazon/aws-cli
commands:
- aws s3 ls "s3://bucket-name/"
spec:
Expand Down
5 changes: 2 additions & 3 deletions incubating/obtain-oidc-id-token/step.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,12 @@ spec:
steps:
main:
name: obtain-oidc-id-token
image: quay.io/curl/curl-base
image: quay.io/ferdi/ci-utils:latest
environment:
- 'AUDIENCE=${{AUDIENCE}}'
commands:
- |
apk add jq
URL="$CF_OIDC_REQUEST_URL"
# This means that audience was provided by the user
Expand Down

0 comments on commit 220dd44

Please sign in to comment.