From cf322ede6bb1b7b1875eeb3933d987ec2f15c788 Mon Sep 17 00:00:00 2001 From: nacho Date: Fri, 10 May 2024 12:47:28 +0200 Subject: [PATCH] add --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b5a76d1..3278e7f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,12 +22,14 @@ jobs: steps: - uses: actions/checkout@v2 - name: Docker mirror login (non fork only) - run: dockerd&;sleep 30;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: |- earthly config global.buildkit_additional_config "'[registry.\"docker.io\"] - 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