.gitea/workflows/build.yml aktualisiert
another try
This commit is contained in:
@@ -13,6 +13,8 @@ env:
|
|||||||
IMAGE_NAME: "${{ github.event.repository.name }}"
|
IMAGE_NAME: "${{ github.event.repository.name }}"
|
||||||
DEFAULT_TAG: "stable"
|
DEFAULT_TAG: "stable"
|
||||||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
|
||||||
|
BUILDAH_ISOLATION: chroot
|
||||||
|
STORAGE_DRIVER: vfs
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
|
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
|
||||||
@@ -22,10 +24,6 @@ jobs:
|
|||||||
build_push:
|
build_push:
|
||||||
name: Build and push image
|
name: Build and push image
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
env:
|
|
||||||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
|
|
||||||
BUILDAH_ISOLATION: chroot
|
|
||||||
STORAGE_DRIVER: vfs
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
@@ -43,12 +41,13 @@ jobs:
|
|||||||
- name: Install Buildah
|
- name: Install Buildah
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
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: |
|
run: |
|
||||||
mkdir -p ~/.config/containers
|
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
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user