Skip to content
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

Support multiple GitHub SSH deploy keys #240

Merged

Conversation

eronnen
Copy link
Contributor

@eronnen eronnen commented Sep 6, 2023

complementary PR to game-ci/unity-builder#568

Changes

  • add sshPublicKeysDirectoryPath input, which is a custom .ssh that should contain the public keys and config file.
  • pass a GIT_CONFIG_EXTENSIONS environment variable to the container, which is a list of key=values configs that can be retrieved from git config --list that the git inside the container will use.

Checklist

  • Read the contribution guide and accept the code of conduct
  • Readme (updated or not needed)
  • Tests (added, updated or not needed)

…hat adds git configs and mounts .ssh/config and public keys to the container, in order to allow multiple sh deploy key trick by webplatform@ssh-agent
@github-actions
Copy link

github-actions bot commented Sep 6, 2023

Cat Gif

@webbertakken webbertakken merged commit 275df98 into game-ci:main Sep 6, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants