From a09453c60d9cc9500df3158816cbe251d03fda70 Mon Sep 17 00:00:00 2001 From: Evan Jarrett Date: Tue, 25 Nov 2025 17:27:49 -0600 Subject: [PATCH] try with buildah --- .tangled/workflows/release.yml | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/.tangled/workflows/release.yml b/.tangled/workflows/release.yml index 5a3ba48..5b5f18d 100644 --- a/.tangled/workflows/release.yml +++ b/.tangled/workflows/release.yml @@ -5,8 +5,8 @@ when: - event: ["push"] tag: ["v*"] -engine: "kubernetes" -image: golang:1.25-trixie +engine: kubernetes +image: quay.io/buildah/stable:latest architecture: amd64 environment: @@ -14,45 +14,31 @@ environment: IMAGE_USER: evan.jarrett.net steps: - - - name: Setup build environment - command: | - if ! grep -q "^root:" /etc/passwd 2>/dev/null; then - echo "root:x:0:0:root:/root:/bin/sh" >> /etc/passwd - fi - - name: Login to registry command: | echo "${APP_PASSWORD}" | buildah login \ - --storage-driver vfs \ -u "${IMAGE_USER}" \ --password-stdin \ ${IMAGE_REGISTRY} - name: Build and push AppView image command: | - echo ${TANGLED_REF_NAME} buildah bud \ - --storage-driver vfs \ --tag ${IMAGE_REGISTRY}/${IMAGE_USER}/atcr-appview:${TANGLED_REF_NAME} \ --tag ${IMAGE_REGISTRY}/${IMAGE_USER}/atcr-appview:latest \ --file ./Dockerfile.appview \ . buildah push \ - --storage-driver vfs \ ${IMAGE_REGISTRY}/${IMAGE_USER}/atcr-appview:latest - name: Build and push Hold image command: | - echo ${TANGLED_REF_NAME} buildah bud \ - --storage-driver vfs \ --tag ${IMAGE_REGISTRY}/${IMAGE_USER}/atcr-hold:${TANGLED_REF_NAME} \ --tag ${IMAGE_REGISTRY}/${IMAGE_USER}/atcr-hold:latest \ --file ./Dockerfile.hold \ . buildah push \ - --storage-driver vfs \ ${IMAGE_REGISTRY}/${IMAGE_USER}/atcr-hold:latest