.gitea/workflows/build.yml aktualisiert
another try
This commit is contained in:
@@ -13,6 +13,8 @@ env:
|
||||
IMAGE_NAME: "${{ github.event.repository.name }}"
|
||||
DEFAULT_TAG: "stable"
|
||||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
|
||||
BUILDAH_ISOLATION: chroot
|
||||
STORAGE_DRIVER: vfs
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
|
||||
@@ -22,10 +24,6 @@ jobs:
|
||||
build_push:
|
||||
name: Build and push image
|
||||
runs-on: ubuntu-24.04
|
||||
env:
|
||||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
|
||||
BUILDAH_ISOLATION: chroot
|
||||
STORAGE_DRIVER: vfs
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
@@ -43,12 +41,13 @@ jobs:
|
||||
- name: Install Buildah
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y buildah fuse-overlayfs
|
||||
sudo apt-get install -y buildah
|
||||
|
||||
- name: Configure Buildah Storage
|
||||
- name: Force vfs storage configuration
|
||||
run: |
|
||||
mkdir -p ~/.config/containers
|
||||
echo -e '[storage]\ndriver = "vfs"\n[storage.options]\nmount_program = "/usr/bin/fuse-overlayfs"' > ~/.config/containers/storage.conf
|
||||
echo '[storage]' > ~/.config/containers/storage.conf
|
||||
echo 'driver = "vfs"' >> ~/.config/containers/storage.conf
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user