From 3e660f434357cb46d3d6f1d72c2268964163ad21 Mon Sep 17 00:00:00 2001 From: penguin Date: Mon, 8 Dec 2025 20:26:23 -0600 Subject: [PATCH] infra: image: fixes image_tag --- .gitea/workflows/gentoo-utils.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/gentoo-utils.yml b/.gitea/workflows/gentoo-utils.yml index 6bab6bb..6f948bd 100644 --- a/.gitea/workflows/gentoo-utils.yml +++ b/.gitea/workflows/gentoo-utils.yml @@ -26,7 +26,8 @@ jobs: echo "branch_name=$branch_name" >> $GITEA_OUTPUT # slugify - echo "image_tag=$(echo "$image_tag" | sed -E 's/[^a-zA-Z0-9]/-/g')" >> $GITEA_OUTPUT + image_tag="$(echo "$image_tag" | sed -E 's/[^a-zA-Z0-9]/-/g')" + echo "image_tag=$image_tag" >> $GITEA_OUTPUT if ! git diff ${{ gitea.event.before }} ${{ gitea.sha }} --no-patch --exit-code .docker; then build_image=true @@ -59,6 +60,8 @@ jobs: push: true tags: git.epenguin.net/${{ gitea.repository }}:${{ steps.image-changes.outputs.image_tag }} context: "{{defaultContext}}:.docker" + outputs: + image_tag: ${{ steps.image-changes.outputs.image_tag }} build: runs-on: brutalisk