diff --git a/Dockerfile b/Dockerfile index 51eafaa..d295810 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,8 +14,8 @@ # You can contact the BCI team via https://github.com/SUSE/bci/discussions -#!BuildTag: opensuse/mariadb-client:%%mariadb_version%% -#!BuildTag: opensuse/mariadb-client:%%mariadb_version%%-%RELEASE% +#!BuildTag: opensuse/mariadb-client:11.2 +#!BuildTag: opensuse/mariadb-client:11.2-%RELEASE% #!BuildTag: opensuse/mariadb-client:latest FROM opensuse/tumbleweed:latest @@ -26,13 +26,13 @@ MAINTAINER openSUSE (https://www.opensuse.org/) # labelprefix=org.opensuse.application.mariadb-client LABEL org.opencontainers.image.title="openSUSE Tumbleweed MariaDB Client" LABEL org.opencontainers.image.description="MariaDB Client container based on the openSUSE Tumbleweed Base Container Image." -LABEL org.opencontainers.image.version="%%mariadb_version%%" +LABEL org.opencontainers.image.version="11.2" 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 io.artifacthub.package.readme-url="https://raw.githubusercontent.com/SUSE/BCI-dockerfile-generator/Tumbleweed/mariadb-client-image/README.md" -LABEL org.opensuse.reference="registry.opensuse.org/opensuse/mariadb-client:%%mariadb_version%%-%RELEASE%" +LABEL org.opensuse.reference="registry.opensuse.org/opensuse/mariadb-client:11.2-%RELEASE%" LABEL org.openbuildservice.disturl="%DISTURL%" LABEL org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime" LABEL org.opensuse.release-stage="released" @@ -41,3 +41,5 @@ LABEL org.opensuse.release-stage="released" RUN set -euo pipefail; zypper -n in --no-recommends mariadb-client; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2} CMD ["mariadb"] +# sanity check that the version from the tag is equal to the version that we expect +RUN set -euo pipefail; [[ $(rpm -q --qf "%{version}" mariadb-client | cut -d "." -f -2) = "11.2" ]] diff --git a/_service b/_service index 3372d92..1652e46 100644 --- a/_service +++ b/_service @@ -1,10 +1,4 @@ - - Dockerfile - %%mariadb_version%% - mariadb-client - minor - \ No newline at end of file diff --git a/mariadb-client-image.changes b/mariadb-client-image.changes index 47bf5fc..360602d 100644 --- a/mariadb-client-image.changes +++ b/mariadb-client-image.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 30 08:24:02 UTC 2024 - Dan Čermák + +- Fix version string in reference + ------------------------------------------------------------------- Tue May 7 19:07:24 UTC 2024 - Dirk Mueller