Skip to content

Commit

Permalink
Merge pull request #1608 from SUSE/for-deploy-Tumbleweed
Browse files Browse the repository at this point in the history
🤖: Update build recipes for Tumbleweed
  • Loading branch information
dirkmueller authored Sep 6, 2024
2 parents 9bbb178 + 37fd3f8 commit 72e2c82
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
11 changes: 11 additions & 0 deletions git-image/_service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@
<param name="file">git-image.kiwi</param>
<param name="regex">%%git_version%%</param>
<param name="package">git-core</param>
</service>
<service name="replace_using_package_version" mode="buildtime">
<param name="file">git-image.kiwi</param>
<param name="regex">%%git_major_version%%</param>
<param name="package">git-core</param>
<param name="parse-version">major</param>
</service>
<service name="replace_using_package_version" mode="buildtime">
<param name="file">git-image.kiwi</param>
<param name="regex">%%git_minor_version%%</param>
<param name="package">git-core</param>
<param name="parse-version">minor</param>
</service>
</services>
5 changes: 5 additions & 0 deletions git-image/git-image.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 6 08:22:49 UTC 2024 - Dirk Mueller <dmueller@suse.com>

- Use the major-minor version as the main tag

-------------------------------------------------------------------
Thu Aug 8 19:28:10 UTC 2024 - Dirk Mueller <dmueller@suse.com>

Expand Down
10 changes: 5 additions & 5 deletions git-image/git-image.kiwi
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ https://github.com/SUSE/BCI-dockerfile-generator
Please submit bugfixes or comments via https://bugs.opensuse.org/
You can contact the BCI team via https://github.com/SUSE/bci/discussions
-->
<!-- OBS-AddTag: opensuse/git:%%git_version%% opensuse/git:%%git_version%%-%RELEASE% opensuse/git:latest -->
<!-- OBS-AddTag: opensuse/git:%%git_minor_version%% opensuse/git:%%git_minor_version%%-%RELEASE% opensuse/git:%%git_major_version%% opensuse/git:%%git_major_version%%-%RELEASE% opensuse/git:%%git_version%% opensuse/git:%%git_version%%-%RELEASE% opensuse/git:latest -->
<!-- OBS-Imagerepo: obsrepositories:/ -->

<image schemaversion="7.4" name="git-image" xmlns:suse_label_helper="com.suse.label_helper">
Expand All @@ -27,8 +27,8 @@ You can contact the BCI team via https://github.com/SUSE/bci/discussions
<type image="docker" derived_from="obsrepositories:/opensuse/bci/bci-micro#latest">
<containerconfig
name="opensuse/git"
tag="%%git_version%%"
additionaltags="%%git_version%%-%RELEASE%,latest">
tag="%%git_minor_version%%"
additionaltags="%%git_minor_version%%-%RELEASE%,%%git_major_version%%,%%git_major_version%%-%RELEASE%,%%git_version%%,%%git_version%%-%RELEASE%,latest">
<labels>
<suse_label_helper:add_prefix prefix="org.opensuse.application.git">
<label name="org.opencontainers.image.authors" value="openSUSE (https://www.opensuse.org/)"/>
Expand All @@ -39,8 +39,8 @@ You can contact the BCI team via https://github.com/SUSE/bci/discussions
<label name="org.opencontainers.image.vendor" value="openSUSE Project"/>
<label name="org.opencontainers.image.source" value="%SOURCEURL%"/>
<label name="org.opencontainers.image.url" value="https://www.opensuse.org"/>
<label name="org.opencontainers.image.ref.name" value="%%git_version%%-%RELEASE%"/>
<label name="org.opensuse.reference" value="registry.opensuse.org/opensuse/git:%%git_version%%-%RELEASE%"/>
<label name="org.opencontainers.image.ref.name" value="%%git_minor_version%%-%RELEASE%"/>
<label name="org.opensuse.reference" value="registry.opensuse.org/opensuse/git:%%git_minor_version%%-%RELEASE%"/>
<label name="org.openbuildservice.disturl" value="%DISTURL%"/>
<label name="org.opensuse.release-stage" value="released"/>
<label name="org.opensuse.lifecycle-url" value="https://en.opensuse.org/Lifetime#openSUSE_BCI"/>
Expand Down

0 comments on commit 72e2c82

Please sign in to comment.