chore(ci): add same version tag as Fedora (#92)
Co-authored-by: Marco Ceppi <marco@ceppi.net>
This commit is contained in:
parent
2ef3c56118
commit
7ecebc6528
1 changed files with 8 additions and 0 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
|
@ -86,6 +86,13 @@ jobs:
|
|||
echo "${TAG}"
|
||||
done
|
||||
echo "alias_tags=${alias_tags[*]}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Get Current Fedora Version
|
||||
id: labels
|
||||
run: |
|
||||
docker pull ghcr.io/ublue-os/silverblue-${{ matrix.image_flavor }}:${{ matrix.major_version }}
|
||||
ver=$(docker inspect ghcr.io/ublue-os/silverblue-${{ matrix.image_flavor }}:${{ matrix.major_version }} | jq -r '.[].Config.Labels["org.opencontainers.image.version"]')
|
||||
echo "VERSION=$ver" >> $GITHUB_OUTPUT
|
||||
|
||||
# Build metadata
|
||||
- name: Image Metadata
|
||||
|
|
@ -96,6 +103,7 @@ jobs:
|
|||
${{ env.IMAGE_NAME }}
|
||||
labels: |
|
||||
org.opencontainers.image.title=${{ env.IMAGE_NAME }}
|
||||
org.opencontainers.image.version=${{ steps.labels.outputs.VERSION }}
|
||||
org.opencontainers.image.description=Fedora Silverblue for Ubuntu Expatriates
|
||||
io.artifacthub.package.readme-url=https://raw.githubusercontent.com/ublue-os/bluefin/bluefin/README.md
|
||||
io.artifacthub.package.logo-url=https://avatars.githubusercontent.com/u/120078124?s=200&v=4
|
||||
|
|
|
|||
Loading…
Reference in a new issue