Skip to content

Commit

Permalink
Merge pull request #1204 from eqlabs/improve_docker
Browse files Browse the repository at this point in the history
ci: remove docker build hacks
  • Loading branch information
Mirko-von-Leipzig committed Jul 10, 2023
2 parents 7a4bd63 + 2f6f4cd commit 4777de2
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,11 @@ on:

jobs:
update-docker-images:
env:
# Workaround for https://github.com/rust-lang/cargo/issues/8719#issuecomment-1516492970
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
runs-on: pathfinder-large-ubuntu
steps:
- name: Free up space
run: |
echo "before freeing up space:"
df -h
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
echo "after freeing up space:"
df -h
- name: Determine Docker image metadata
id: meta
uses: docker/metadata-action@v4
Expand All @@ -28,11 +24,6 @@ jobs:
type=raw,value=latest,enable=${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}
# snapshot tag for manually triggered builds
type=raw,value=snapshot-{{branch}}-{{sha}},enable=${{ github.event_name == 'workflow_dispatch' }}
# Workaround for https://github.com/rust-lang/cargo/issues/8719
- name: Set Swap Space
uses: pierotofy/[email protected]
with:
swap-size-gb: 10
- name: Checkout sources
uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 4777de2

Please sign in to comment.