-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supplying AWS creds but still getting missing username warning #153
Comments
I'm also experiencing this - using OIDC. Did you ever find a fix for this? |
I'll have to take a look as I have not tested this scenario. NVM. Again, I'll have to take a look. No much time lately though. Update: Can someone please test this?
I've taken it from here https://github.com/aws-actions/configure-aws-credentials#retrieving-credentials-from-step-output-assumerole-with-temporary-credentials |
ah, just spotted the typo there - fixing and trying again. |
@bagedevimo According to configure-aws-credentials docs, when you use OIDC, you need to set an |
that same link says there is a default audience (which should be correct for our partition) and it does seem that the login is working fine on the AWS task - just not picking up the credentials in the build and push step. |
@bagedevimo Will have to write a test to play with it. Give me some time for that. Thanks for bringing this up. |
When running this action after the
aws-actions/configure-aws-credentials
action, variables are set but the docker-build-with-cache-action doesn't seem to be detecting them? Possibly because i'm using OIDC login so i'm not explicitly setting those variables?Output:
The text was updated successfully, but these errors were encountered: