mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 06:05:01 +02:00
workflows: rename icinga-db
-> icinga2
in container images
This commit is contained in:
parent
20f28ec22a
commit
87762799bf
3
.github/workflows/container-image.yml
vendored
3
.github/workflows/container-image.yml
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user