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 /')