Skip to content

Commit 028809b

Browse files
Update tests for new github actions runner image (#523)
* use curl to download earthly * update earthly version * update image build as well
1 parent 61f5865 commit 028809b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/images.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Docker login
4848
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.actor }}" --password-stdin
4949
- name: Install earthly
50-
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.15/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
50+
run: "sudo /bin/sh -c 'curl -o /usr/local/bin/earthly -L https://github.com/earthly/earthly/releases/download/v0.8.16/earthly-linux-amd64 && chmod +x /usr/local/bin/earthly'"
5151
- name: Earthly version
5252
run: earthly --version
5353
- name: Run build

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
fi
2525
git checkout -b "$branch" || true
2626
- name: Install earthly
27-
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.15/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
27+
run: "sudo /bin/sh -c 'curl -o /usr/local/bin/earthly -L https://github.com/earthly/earthly/releases/download/v0.8.16/earthly-linux-amd64 && chmod +x /usr/local/bin/earthly'"
2828
- name: Configure pull-through-cache
2929
run: |
3030
mkdir ~/.earthly

0 commit comments

Comments
 (0)