#github-actions (2023-02)
Discussions related to GitHub Actions
2023-02-01
![jose.amengual avatar](https://secure.gravatar.com/avatar/32f267b819eac9e0ea6a8324b53064a0.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0024-72.png)
is it possible with this : https://github.com/aws-actions/configure-aws-credentials or another action using OIDC to assume a role chaining? like assume a cicd role in the CICD account and then assume a rile int he dev account?
Configure AWS credential environment variables for use in other GitHub Actions.
![Darren Cunningham avatar](https://secure.gravatar.com/avatar/d0ea359c3ff6b8093ae53e57fbbe2570.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0022-72.png)
yes, I’ve done just that w/that action though I don’t have the workflow in hand
Configure AWS credential environment variables for use in other GitHub Actions.
![jose.amengual avatar](https://secure.gravatar.com/avatar/32f267b819eac9e0ea6a8324b53064a0.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0024-72.png)
ok, I will give it a try, I think I will need to do some STS after
![Darren Cunningham avatar](https://secure.gravatar.com/avatar/d0ea359c3ff6b8093ae53e57fbbe2570.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0022-72.png)
from what I recall, I called the action twice. I wasn’t able to consolidate into a single call
![jose.amengual avatar](https://secure.gravatar.com/avatar/32f267b819eac9e0ea6a8324b53064a0.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0024-72.png)
ahhh, using the session name from. the previous one
2023-02-23
![johncblandii avatar](https://avatars.slack-edge.com/2020-04-14/1062347993890_6fd142c15ffef426eeba_72.png)
I found the docker build workflow in the registry (was good to see CP pop up there when searching).
I get this log when using it, though. Is this a familiar error?
Retrieving registries data through AWS SDK…
AWS ECR detected with us-east-1 region
Logging into https://123456789.dkr.ecr.us-east-1.amazonaws.com…
Error: Error saving credentials: error storing credentials - err: exit status 1, out: not implemented
![johncblandii avatar](https://avatars.slack-edge.com/2020-04-14/1062347993890_6fd142c15ffef426eeba_72.png)
- name: Build
id: build
uses: cloudposse/github-action-docker-build-push@main
with:
registry: "${{ env.ECR_REGISTRY }}"
organization: "${{ github.event.repository.owner.login }}"
repository: "${{ env.ECR_REPOSITORY }}"
outputs:
image: ${{ steps.build.outputs.image }}
tag: ${{ steps.build.outputs.tag }}
![johncblandii avatar](https://avatars.slack-edge.com/2020-04-14/1062347993890_6fd142c15ffef426eeba_72.png)
oh and this is from a private github runner
![johncblandii avatar](https://avatars.slack-edge.com/2020-04-14/1062347993890_6fd142c15ffef426eeba_72.png)
Found a bug? Maybe our Slack Community can help.
Describe the Bug
Warning: The
set-output
command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Expected Behavior
No warning.
Steps to Reproduce
Steps to reproduce the behavior:
- Run the workflow
Screenshots
If applicable, add screenshots or logs to help explain your problem.
Environment (please complete the following information):
Anything that will help us triage the bug will help. Here are some ideas:
• OS: [e.g. Linux, OSX, WSL, etc] • Version [e.g. 10.15]
Additional Context
Add any other context about the problem here.
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
yes, @Igor Rodionov will be working to fix these, but it may be a couple weeks
Found a bug? Maybe our Slack Community can help.
Describe the Bug
Warning: The
set-output
command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Expected Behavior
No warning.
Steps to Reproduce
Steps to reproduce the behavior:
- Run the workflow
Screenshots
If applicable, add screenshots or logs to help explain your problem.
Environment (please complete the following information):
Anything that will help us triage the bug will help. Here are some ideas:
• OS: [e.g. Linux, OSX, WSL, etc] • Version [e.g. 10.15]
Additional Context
Add any other context about the problem here.