@@ -10,6 +10,11 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: rhel10
|
||||
env:
|
||||
# BUILDER_IMAGE: localhost/devimgs-centos-7-rust:latest
|
||||
# BUILDER_ARCHIVE_URL: https://example.com/devimgs-centos-7-rust.tar
|
||||
PODMAN_STORAGE: ${{ gitea.workspace }}/.podman-storage
|
||||
PODMAN_RUNROOT: ${{ gitea.workspace }}/.podman-runroot
|
||||
steps:
|
||||
- name: Node
|
||||
run: dnf install --assumeyes nodejs
|
||||
@@ -19,6 +24,20 @@ jobs:
|
||||
run: dnf info podman
|
||||
- name: Install podman
|
||||
run: dnf install --assumeyes podman
|
||||
- run: mkdir -p "$PODMAN_STORAGE" "$PODMAN_RUNROOT"
|
||||
- run: |
|
||||
cat > storage.conf <<EOF
|
||||
[storage]
|
||||
driver = "vfs"
|
||||
graphroot = "$PODMAN_STORAGE"
|
||||
runroot = "$PODMAN_RUNROOT"
|
||||
[storage.options]
|
||||
EOF
|
||||
- run: |
|
||||
podman --storage-driver=vfs \
|
||||
--root "$PODMAN_STORAGE" \
|
||||
--runroot "$PODMAN_RUNROOT" \
|
||||
info
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Release
|
||||
|
||||
Reference in New Issue
Block a user