Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
feat: declare image description in recipe.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xynydev committed Apr 3, 2023
1 parent f9ed74f commit c9c011d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
- name: Gather image data from recipe
run: |
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 "BASE_CONTAINER_URL=$(yq '.base-container' ./recipe.yml)" >> $GITHUB_ENV
Expand Down Expand Up @@ -100,7 +101,7 @@ jobs:
${{ env.IMAGE_NAME }}
labels: |
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.logo-url=https://avatars.githubusercontent.com/u/120078124?s=200&v=4
Expand Down
3 changes: 3 additions & 0 deletions recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ base-container: ghcr.io/ublue-os/silverblue-main
# what fedora version to use, you can just change this to update
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
# using rpm-ostree and will be preinstalled in the final image
rpms:
Expand Down

0 comments on commit c9c011d

Please sign in to comment.