Skip to content

Commit

Permalink
Merge pull request #102 from hmakelin/free-up-space-on-github-runner
Browse files Browse the repository at this point in the history
Free up space on GitHub runner
  • Loading branch information
hmakelin authored Feb 3, 2024
2 parents 1e3a4b2 + 4c9562c commit f041e62
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/push_gisnav_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,13 @@ jobs:
docker buildx create --use
# TODO: try to use docker-compose.yaml file to avoid having to specify redundant build args here
# Remove some directories and apt dependencies to free up disk space
# for the multi-arch image
- name: Build and push GISNav multi-arch Docker images
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf /usr/local/share/boost
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
cd colcon_ws/src/gisnav
docker buildx build --build-arg ROS_VERSION=humble --push --platform linux/amd64,linux/arm64 -f docker/gisnav/Dockerfile -t ghcr.io/hmakelin/gisnav:${TAG:-latest} .

0 comments on commit f041e62

Please sign in to comment.