Skip to content

Commit

Permalink
Bind mount /mnt for temporary build artifacts
Browse files Browse the repository at this point in the history
The new GitHub Action hosted runners have less space on /. For some
add-ons this can be problematic. Unfortunately it is not straight
forward to use /mnt as Docker data root. Instead just mount /mnt inside
the container so add-on Dockerfiles can use that location for temporary
build files.
  • Loading branch information
agners committed Feb 15, 2024
1 parent f0b5b7d commit 700ecb8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ runs:
-v /var/run/docker.sock:/var/run/docker.sock:ro \
-v ~/.docker:/root/.docker \
-v ${{ github.workspace }}:/data \
-v /mnt:/mnt \
--env-file "${{ github.action_path }}/env_file" \
ghcr.io/home-assistant/amd64-builder:${{ steps.version.outputs.version }} \
${{ inputs.args }}
Expand Down

0 comments on commit 700ecb8

Please sign in to comment.