Skip to content

Commit

Permalink
Revert "Cr 20802 (#667)" (#669)
Browse files Browse the repository at this point in the history
This reverts commit 01a030d.
  • Loading branch information
kim-codefresh authored Jan 5, 2024
1 parent 01a030d commit 472580b
Show file tree
Hide file tree
Showing 2 changed files with 6 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
@@ -1,7 +1,7 @@
version: '1.0'
kind: step-type
metadata:
version: 1.1.0
version: 1.0.0
name: aws-sts-assume-role-with-web-identity
description: >-
Obtain AWS STS credentials using OIDC ID token and export them as environment variables
Expand Down Expand Up @@ -121,7 +121,7 @@ spec:
stepsTemplate: |-
main:
name: aws-sts-assume-role-with-web-identity
image: quay.io/jland/aws-cli:2.8.12
image: mikesir87/aws-cli
environment:
[[ range $key, $val := .Arguments ]]
- '[[ $key ]]=[[ $val ]]'
Expand Down
7 changes: 4 additions & 3 deletions incubating/obtain-oidc-id-token/step.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '1.0'
kind: step-type
metadata:
version: 1.2.0
version: 1.1.2
name: obtain-oidc-id-token
description: >-
Obtain ID token from Codefresh OIDC Provider
Expand Down Expand Up @@ -107,12 +107,13 @@ spec:
steps:
main:
name: obtain-oidc-id-token
image: quay.io/ferdi/ci-utils:latest
image: quay.io/curl/curl-base
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 472580b

Please sign in to comment.