feat: declare image description in recipe.yml

This commit is contained in:
ER
2023-04-03 15:23:59 +03:00
parent f9ed74f2e7
commit c9c011d842
2 changed files with 5 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ jobs:
- name: Gather image data from recipe - name: Gather image data from recipe
run: | run: |
echo "IMAGE_NAME=$(yq '.name' ./recipe.yml)" >> $GITHUB_ENV echo "IMAGE_NAME=$(yq '.name' ./recipe.yml)" >> $GITHUB_ENV
echo "IMAGE_DESCRIPTION=$(yq '.description' ./recipe.yml)" >> $GITHUB_ENV
echo "FEDORA_MAJOR_VERSION=$(yq '.fedora-version' ./recipe.yml)" >> $GITHUB_ENV echo "FEDORA_MAJOR_VERSION=$(yq '.fedora-version' ./recipe.yml)" >> $GITHUB_ENV
echo "BASE_CONTAINER_URL=$(yq '.base-container' ./recipe.yml)" >> $GITHUB_ENV echo "BASE_CONTAINER_URL=$(yq '.base-container' ./recipe.yml)" >> $GITHUB_ENV
@@ -100,7 +101,7 @@ jobs:
${{ env.IMAGE_NAME }} ${{ env.IMAGE_NAME }}
labels: | labels: |
org.opencontainers.image.title=${{ env.IMAGE_NAME }} org.opencontainers.image.title=${{ env.IMAGE_NAME }}
org.opencontainers.image.description=A starting point for further customization of uBlue images. Make your own! https://ublue.it/making-your-own/ org.opencontainers.image.description=${{ env.IMAGE_DESCRIPTION }}
io.artifacthub.package.readme-url=https://raw.githubusercontent.com/ublue-os/startingpoint/main/README.md io.artifacthub.package.readme-url=https://raw.githubusercontent.com/ublue-os/startingpoint/main/README.md
io.artifacthub.package.logo-url=https://avatars.githubusercontent.com/u/120078124?s=200&v=4 io.artifacthub.package.logo-url=https://avatars.githubusercontent.com/u/120078124?s=200&v=4

View File

@@ -8,6 +8,9 @@ base-container: ghcr.io/ublue-os/silverblue-main
# what fedora version to use, you can just change this to update # what fedora version to use, you can just change this to update
fedora-version: 37 fedora-version: 37
# this description will be visible in the containers metadata
description: A starting point for further customization of uBlue images. Make your own! https://ublue.it/making-your-own/
# these rpms will be installed from the fedora repository # these rpms will be installed from the fedora repository
# using rpm-ostree and will be preinstalled in the final image # using rpm-ostree and will be preinstalled in the final image
rpms: rpms: