mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2025-06-07 17:31:35 +00:00
Fix buildah issue of using overlay
as storage driver (#51)
Work around https://github.com/redhat-actions/buildah-build/issues/45 Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
parent
65f18d484c
commit
6dbeb7e1f6
9 changed files with 142 additions and 29 deletions
6
.github/workflows/dockerfile_build.yml
vendored
6
.github/workflows/dockerfile_build.yml
vendored
|
@ -31,12 +31,6 @@ jobs:
|
|||
RUN echo "hello world"
|
||||
EOF
|
||||
|
||||
# Workaround to fix https://github.com/containers/buildah/issues/3120
|
||||
- run: |
|
||||
sudo apt-get install fuse-overlayfs
|
||||
mkdir -vp ~/.config/containers
|
||||
printf "[storage.options]\nmount_program=\"/usr/bin/fuse-overlayfs\"" > ~/.config/containers/storage.conf
|
||||
|
||||
# Build image using Buildah action
|
||||
- name: Build Image
|
||||
id: build_image
|
||||
|
|
6
.github/workflows/scratch_build.yml
vendored
6
.github/workflows/scratch_build.yml
vendored
|
@ -68,12 +68,6 @@ jobs:
|
|||
path: ${{ env.MVN_REPO_DIR }}
|
||||
key: ${{ env.MVN_HASH }}
|
||||
|
||||
# Workaround to fix https://github.com/containers/buildah/issues/3120
|
||||
- run: |
|
||||
sudo apt-get install fuse-overlayfs
|
||||
mkdir -vp ~/.config/containers
|
||||
printf "[storage.options]\nmount_program=\"/usr/bin/fuse-overlayfs\"" > ~/.config/containers/storage.conf
|
||||
|
||||
# Build image using Buildah action
|
||||
- name: Build Image
|
||||
id: build_image
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue