mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
GitHub: make Docker build more reliable
Currently the Docker image build regularly fails with "no space left on disk". We try to delete additional files and docker images to try to avoid that error.
This commit is contained in:
parent
779cf9d638
commit
b4e4d438e0
1 changed files with 7 additions and 1 deletions
8
.github/workflows/docker.yml
vendored
8
.github/workflows/docker.yml
vendored
|
|
@ -25,6 +25,9 @@ jobs:
|
|||
main:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: cleanup space
|
||||
run: rm -rf /opt/hostedtoolcache
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: lightninglabs/gh-actions/setup-qemu-action@2021.01.25.00
|
||||
|
||||
|
|
@ -62,8 +65,11 @@ jobs:
|
|||
tags: "${{ env.DOCKER_ORG }}/${{ env.DOCKER_REPO }}:${{ env.IMAGE_TAG }}"
|
||||
build-args: checkout=${{ env.RELEASE_VERSION }}
|
||||
|
||||
- name: Clear the build cache
|
||||
- name: Clear the Docker build cache
|
||||
run: docker builder prune -a -f
|
||||
|
||||
- name: Clear the Docker image cache
|
||||
run: docker image prune -a -f
|
||||
|
||||
- name: Build and push image with /lit path
|
||||
id: docker_build2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue