workflows: rename icinga-db -> icinga2 in container images

This commit is contained in:
Yonas Habteab 2025-07-17 18:13:04 +02:00
parent 20f28ec22a
commit 87762799bf

View File

@ -77,7 +77,6 @@ jobs:
echo "The current tag ${{ github.ref_name }} is not the greatest overall compared to $greatest_tag. Not tagging as 'latest'." echo "The current tag ${{ github.ref_name }} is not the greatest overall compared to $greatest_tag. Not tagging as 'latest'."
fi fi
major_version=$(echo ${{ github.ref_name }} | cut -d. -f1) major_version=$(echo ${{ github.ref_name }} | cut -d. -f1)
greatest_major=$(git -c 'versionsort.suffix=-' tag --list "${major_version}.*" --sort=-v:refname | awk 'NR==1') greatest_major=$(git -c 'versionsort.suffix=-' tag --list "${major_version}.*" --sort=-v:refname | awk 'NR==1')
if [ "${{ github.ref_name }}" = "$greatest_major" ]; then if [ "${{ github.ref_name }}" = "$greatest_major" ]; then
@ -100,7 +99,7 @@ jobs:
# Docker Hub # Docker Hub
${{ env.IMAGE_NAME }} ${{ env.IMAGE_NAME }}
labels: | labels: |
org.opencontainers.image.documentation=https://icinga.com/docs/icinga-db org.opencontainers.image.documentation=https://icinga.com/docs/icinga2
org.opencontainers.image.vendor=Icinga GmbH org.opencontainers.image.vendor=Icinga GmbH
flavor: | flavor: |
# Disable automatic 'latest' tagging as our custom logic is used to # Disable automatic 'latest' tagging as our custom logic is used to