mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-19 16:16:48 +00:00
17 lines
344 B
Bash
Executable File
17 lines
344 B
Bash
Executable File
#!/bin/sh
|
|
|
|
GIT_BRANCH="${1:-master}"
|
|
|
|
set -x
|
|
podman \
|
|
build \
|
|
--squash \
|
|
--no-cache \
|
|
--force-rm \
|
|
--build-arg="GIT_REPO=file:///mnt" \
|
|
--build-arg="BRANCH=${GIT_BRANCH}" \
|
|
-v "${PWD}":/mnt:ro \
|
|
-f "buildtools/containerimage/Containerfile" \
|
|
--tag "ghcr.io/trapexit/mergerfs:${GIT_BRANCH}" \
|
|
buildtools/
|