remove modprobe, added env to build custom image and attempt to pass over fuse
This commit is contained in:
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@@ -11,6 +11,9 @@ on:
|
|||||||
- "**.md"
|
- "**.md"
|
||||||
pull_request:
|
pull_request:
|
||||||
workflow_dispatch: # allow manually triggering builds
|
workflow_dispatch: # allow manually triggering builds
|
||||||
|
container:
|
||||||
|
volumes:
|
||||||
|
- /dev/fuse:/dev/fuse:rw
|
||||||
concurrency:
|
concurrency:
|
||||||
# only run one build at a time
|
# only run one build at a time
|
||||||
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
|
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
|
||||||
@@ -30,12 +33,13 @@ jobs:
|
|||||||
# !! Add your recipes here
|
# !! Add your recipes here
|
||||||
- recipe.yml
|
- recipe.yml
|
||||||
steps:
|
steps:
|
||||||
- name: Add fuse
|
|
||||||
shell: bash
|
|
||||||
run: sudo modprobe fuse
|
|
||||||
|
|
||||||
# the build is fully handled by the reusable github action
|
# the build is fully handled by the reusable github action
|
||||||
- name: Build Custom Image
|
- name: Build Custom Image
|
||||||
|
env:
|
||||||
|
_BUILDAH_STARTED_IN_USERNS: ""
|
||||||
|
BUILDAH_ISOLATION: chroot
|
||||||
|
STORAGE_DRIVER: vfs
|
||||||
uses: blue-build/github-action@v1.8
|
uses: blue-build/github-action@v1.8
|
||||||
with:
|
with:
|
||||||
recipe: ${{ matrix.recipe }}
|
recipe: ${{ matrix.recipe }}
|
||||||
|
|||||||
Reference in New Issue
Block a user