From 4b8dbcea2eb82bcefc3b4de15105f065b23b7efa Mon Sep 17 00:00:00 2001 From: penguin Date: Fri, 12 Dec 2025 21:05:03 -0600 Subject: [PATCH] fixes --- .gitea/workflows/gentoo-utils.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/gentoo-utils.yml b/.gitea/workflows/gentoo-utils.yml index 897ef7e..4db4d20 100644 --- a/.gitea/workflows/gentoo-utils.yml +++ b/.gitea/workflows/gentoo-utils.yml @@ -18,7 +18,6 @@ jobs: with: fetch-depth: 0 - - name: Check for changes before building id: image-changes # build image only if 1. changes are detected or 2. an image for the working branch doesnt exist @@ -28,7 +27,7 @@ jobs: image_tag=latest comparison_hash="${{ gitea.event.before }}" - if [[ "$branch_name" != "${{ gitea.event.repository.default_branch }}" ]]; then + if [[ "$branch_name" != "$default_branch_name" ]]; then image_tag=$branch_name fi # slugify @@ -49,7 +48,7 @@ jobs: fi fi - echo "default_branch_name=$default_branch_name" + echo "default_branch_name=$default_branch_name" >> $GITEA_OUTPUT echo "branch_name=$branch_name" >> $GITEA_OUTPUT echo "image_tag=$image_tag" >> $GITEA_OUTPUT echo "comparison_hash=$comparison_hash" >> $GITEA_OUTPUT