Skip to content

Commit

Permalink
add pull through cache for earthly (#161)
Browse files Browse the repository at this point in the history
---------

Signed-off-by: Felix Breuer <fbreuer@pm.me>
  • Loading branch information
breuerfelix committed Apr 17, 2023
1 parent e545cd9 commit 92dca9d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,18 @@ jobs:
git checkout -b "$branch" || true
- name: Install earthly
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.6.23/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
- name: Configure pull-through-cache
run: |
mkdir ~/.earthly
cat <<EOF > ~/.earthly/config.yml
global:
buildkit_additional_config: |
[registry."docker.io"]
mirrors = ["yawol-registry-docker-registry.yawol-registry.svc:5000"]
[registry."yawol-registry-docker-registry.yawol-registry.svc:5000"]
http = true
insecure = true
EOF
- name: Earthly version
run: earthly --version
- name: Run Snyk
Expand Down

0 comments on commit 92dca9d

Please sign in to comment.