From 6d7018756053bd114ec8a111f1a546b0cafc2bf5 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Thu, 17 Apr 2025 14:32:56 +0200 Subject: [PATCH] Manifests latest tag now tracks latest tagged release instead of latest build --- .gitea/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 68d8e0b..8e34967 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -76,11 +76,11 @@ jobs: - name: Push manifests run: | - flux push artifact oci://$OCI_REPO/manifests:latest \ + flux push artifact oci://$OCI_REPO/manifests:${{ gitea.head_ref || gitea.ref_name }} \ --path="./manifests.yaml" \ --source="$(git config --get remote.origin.url)" \ --revision="$(git rev-parse HEAD)" \ $(echo "${{ steps.meta.outputs.labels }}" | sed -e 's/^/-a /') - flux tag artifact oci://$OCI_REPO/manifests:latest \ + flux tag artifact oci://$OCI_REPO/manifests:${{ gitea.head_ref || gitea.ref_name }} \ $(echo "${{ steps.meta.outputs.tags }}" | sed -e 's/^.*:/--tag /')