Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
idelvall committed May 9, 2024
1 parent 8ad284b commit 50d1e23
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,16 @@ concurrency:
jobs:
test:
name: +test
runs-on: ubuntu-latest
runs-on: [earthly-satellite#gha-lib]
env:
FORCE_COLOR: 1
EARTHLY_CONVERSION_PARALLELISM: "5"
EARTHLY_TOKEN: "${{ secrets.EARTHLY_TOKEN }}"
EARTHLY_INSTALL_ID: "earthly-lib-githubactions"
steps:
- uses: earthly/actions/setup-earthly@v1
- uses: actions/checkout@v2
- name: Docker mirror login (non fork only)
run: docker login registry-1.docker.io.mirror.corp.earthly.dev --username "${{ secrets.DOCKERHUB_MIRROR_USERNAME }}" --password "${{ secrets.DOCKERHUB_MIRROR_PASSWORD }}"
run: dockerd&;sleep 30;docker login registry-1.docker.io.mirror.corp.earthly.dev --username "${{ secrets.DOCKERHUB_MIRROR_USERNAME }}" --password "${{ secrets.DOCKERHUB_MIRROR_PASSWORD }}"
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
- name: Configure Earthly to use mirror (non fork only)
run: |-
Expand All @@ -36,7 +35,7 @@ jobs:
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
earthly --ci -P --org earthly-technologies +test
test-native-arm:
name: +test-native-arm
runs-on: ubuntu-latest
Expand Down

0 comments on commit 50d1e23

Please sign in to comment.