github / gh-valet

Valet helps facilitate the migration of Azure DevOps, CircleCI, GitLab CI, Jenkins, and Travis CI pipelines to GitHub Actions.
MIT License
510 stars 35 forks source link

Configure GHCR credentials in configure command #68

Closed ethanis closed 2 years ago

ethanis commented 2 years ago

What's changing?

This change will store and read environment variables defined in a .env.local file that can be used to authenticate with GHCR to fetch new versions of the valet-cli container. This also updates the configure command to interactively set these credentials.

How's this tested?

Configure these credentials

dotnet run --project src/Valet/Valet.csproj -- configure

Use these credentials

dotnet run --project src/Valet/Valet.csproj -- update
github-actions[bot] commented 2 years ago

Unit Test Results

34 tests  ±0   34 :heavy_check_mark: ±0   0s :stopwatch: ±0s   1 suites ±0     0 :zzz: ±0    1 files   ±0     0 :x: ±0 

Results for commit 9e30ca3a. ± Comparison against base commit 8c451a87.