Skip to content

Commit

Permalink
configure ssh before running earthly
Browse files Browse the repository at this point in the history
  • Loading branch information
idodod committed Nov 3, 2023
1 parent 3a356b1 commit 90e11fd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,8 @@ jobs:
mirrors = [\"registry-1.docker.io.mirror.corp.earthly.dev\"]'"
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
- name: Run tests
run: earthly --ci -P --org earthly-technologies --satellite lib +test
run: |-
earthly config git "{github.com: {auth: ssh, user: git}}" && \
eval $(ssh-agent) && \
earthly secrets --org earthly-technologies --project core get littleredcorvette-id_rsa | ssh-add - && \
earthly --ci -P --org earthly-technologies --satellite lib +test

0 comments on commit 90e11fd

Please sign in to comment.