1
0
forked from pool/grafana-image

[info=111c3c75b37d0bb803d4f7f4d2d80c40]

OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/grafana-image?expand=0&rev=116
This commit is contained in:
Dan Čermák 2024-06-18 09:15:07 +00:00 committed by Git OBS Bridge
parent 3d68073d22
commit 4cfe660beb
3 changed files with 26 additions and 5 deletions

View File

@ -14,8 +14,12 @@
# You can contact the BCI team via https://github.com/SUSE/bci/discussions
#!BuildTag: opensuse/grafana:%%grafana_version%%
#!BuildTag: opensuse/grafana:%%grafana_version%%-%RELEASE%
#!BuildTag: opensuse/grafana:%%grafana_patch_version%%
#!BuildTag: opensuse/grafana:%%grafana_patch_version%%-%RELEASE%
#!BuildTag: opensuse/grafana:%%grafana_minor_version%%
#!BuildTag: opensuse/grafana:%%grafana_minor_version%%-%RELEASE%
#!BuildTag: opensuse/grafana:%%grafana_major_version%%
#!BuildTag: opensuse/grafana:%%grafana_major_version%%-%RELEASE%
#!BuildTag: opensuse/grafana:latest
FROM opensuse/tumbleweed:latest
@ -26,12 +30,12 @@ MAINTAINER openSUSE (https://www.opensuse.org/)
# labelprefix=org.opensuse.application.grafana
LABEL org.opencontainers.image.title="openSUSE Tumbleweed Grafana"
LABEL org.opencontainers.image.description="Grafana container based on the openSUSE Tumbleweed Base Container Image."
LABEL org.opencontainers.image.version="%%grafana_version%%"
LABEL org.opencontainers.image.version="%%grafana_patch_version%%"
LABEL org.opencontainers.image.url="https://www.opensuse.org"
LABEL org.opencontainers.image.created="%BUILDTIME%"
LABEL org.opencontainers.image.vendor="openSUSE Project"
LABEL org.opencontainers.image.source="%SOURCEURL%"
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/grafana:%%grafana_version%%-%RELEASE%"
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/grafana:%%grafana_patch_version%%-%RELEASE%"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime"
LABEL org.opensuse.release-stage="released"

View File

@ -3,7 +3,19 @@
<service mode="buildtime" name="kiwi_metainfo_helper"/>
<service name="replace_using_package_version" mode="buildtime">
<param name="file">Dockerfile</param>
<param name="regex">%%grafana_version%%</param>
<param name="regex">%%grafana_major_version%%</param>
<param name="package">grafana</param>
<param name="parse-version">major</param>
</service>
<service name="replace_using_package_version" mode="buildtime">
<param name="file">Dockerfile</param>
<param name="regex">%%grafana_minor_version%%</param>
<param name="package">grafana</param>
<param name="parse-version">minor</param>
</service>
<service name="replace_using_package_version" mode="buildtime">
<param name="file">Dockerfile</param>
<param name="regex">%%grafana_patch_version%%</param>
<param name="package">grafana</param>
<param name="parse-version">patch</param>
</service>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 18 08:57:23 UTC 2024 - Dan Čermák <dcermak@suse.com>
- Add major and major+minor version as a build tag
-------------------------------------------------------------------
Mon Jun 10 15:11:25 UTC 2024 - Dirk Mueller <dmueller@suse.com>