1
0
mirror of https://github.com/hegerdes/gitlab-actions.git synced 2025-10-06 05:36:52 +02:00

fix: use chroot build isolation for buildah

Signed-off-by: Henrik Gerdes <hegerdes@outlook.de>
This commit is contained in:
Henrik Gerdes
2024-09-08 13:50:44 +02:00
parent 8b0c1b510e
commit 4e7e79928a
2 changed files with 6 additions and 0 deletions

View File

@@ -91,6 +91,10 @@ BUILDAH:build:
tags: [$RUNNER]
# Multiple pushes may cause race condition. Retry twice
retry: 2
variables:
STORAGE_DRIVER: vfs
BUILDAH_FORMAT: docker
BUILDAH_ISOLATION: chroot
parallel:
matrix:
- RUNNER: saas-linux-small-amd64

View File

@@ -274,6 +274,7 @@
# Check if talosctl is installed
if ! command -v talosctl > /dev/null; then
echo "Installing talosctl"
echo "You can set the desired version via TALOSCTL_VERSION. Default is latest"
if [ "$(uname -m)" = "x86_64" ]; then
ARCH=amd64
elif [ "$(uname -m)" = "aarch64" ]; then
@@ -292,6 +293,7 @@
# Check if tailscale is installed
if ! command -v tailscale > /dev/null; then
echo "Installing tailscale"
echo "You can set the desired version via TAILSCALE_VERSION. Default is latest"
if [ "$(uname -m)" = "x86_64" ]; then
ARCH=amd64
elif [ "$(uname -m)" = "aarch64" ]; then