From dc2b0b04f7548be649d2d8070ec6f6ccb87b1e97 Mon Sep 17 00:00:00 2001 From: dfcarvajal Date: Wed, 17 Dec 2025 10:37:44 +0100 Subject: [PATCH] TEST: actions --- .gitea/workflows/build.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 1ddf2f7..de5f798 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -19,21 +19,21 @@ jobs: apt-get update -y -qq apt-get install -y buildah - echo "🔐 Configurando credenciales para el registro" - echo "[[registry]]" > /etc/containers/registries.conf - echo "prefix = \"nexus.rancherk3.duckdns.org\"" >> /etc/containers/registries.conf - echo "location = \"nexus.rancherk3.duckdns.org\"" >> /etc/containers/registries.conf - echo "insecure = true" >> /etc/containers/registries.conf + #echo "🔐 Configurando credenciales para el registro" + #echo "[[registry]]" > /etc/containers/registries.conf + #echo "prefix = \"nexus.rancherk3.duckdns.org\"" >> /etc/containers/registries.conf + #echo "location = \"nexus.rancherk3.duckdns.org\"" >> /etc/containers/registries.conf + #echo "insecure = true" >> /etc/containers/registries.conf #echo "Iniciando sesión en el registro" #echo $NEXUS_PASSWORD | buildah login -u $NEXUS_USER --password-stdin nexus.rancherk3.duckdns.org echo "🚀 Construyendo imagen con Buildah" - buildah bud -f Dockerfile -t nexus.rancherk3.duckdns.org/tfm/microserviciospython:latest . + buildah bud --isolation=chroot --storage-driver=vfs -f Dockerfile -t nexus.rancherk3.duckdns.org/tfm/microserviciospython:latest . buildah tag nexus.rancherk3.duckdns.org/tfm/microserviciospython:latest nexus.rancherk3.duckdns.org/tfm/microserviciospython:${GITHUB_SHA} echo "🚀 Subiendo imágenes" - buildah push nexus.rancherk3.duckdns.org/tfm/microserviciospython:latest - buildah push nexus.rancherk3.duckdns.org/tfm/microserviciospython:${GITHUB_SHA} + buildah push --storage-driver=vfs nexus.rancherk3.duckdns.org/tfm/microserviciospython:latest + buildah push --storage-driver=vfs nexus.rancherk3.duckdns.org/tfm/microserviciospython:${GITHUB_SHA} echo "✅ Imagen construida y subida exitosamente" \ No newline at end of file