mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-28 08:37:12 +00:00
Revert "chore(ci): fix possible empty version meta on image"
This reverts commit 17edc1b92f8e255a2469d87e2f909780f76840f2.
This commit is contained in:
parent
4a705495f0
commit
950e7c7c07
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -183,7 +183,6 @@ jobs:
|
||||
|
||||
- name: Get Current Fedora Version
|
||||
id: labels
|
||||
shell: bash
|
||||
run: |
|
||||
if [[ "${{ matrix.base_name }}" == "bazzite-nvidia" ]]; then
|
||||
ver=$(skopeo inspect docker://ghcr.io/ublue-os/bazzite-${{ env.IMAGE_FLAVOR }}:${{ matrix.major_version }} | jq -r '.Labels["org.opencontainers.image.version"]')
|
||||
@ -192,10 +191,6 @@ jobs:
|
||||
else
|
||||
ver=$(skopeo inspect docker://ghcr.io/ublue-os/${{ matrix.base_image_name }}-${{ env.IMAGE_FLAVOR }}:${{ matrix.major_version }} | jq -r '.Labels["org.opencontainers.image.version"]')
|
||||
fi
|
||||
if [ -z "$ver" ] || [ "null" = "$ver" ]; then
|
||||
echo "inspected image version must not be empty or null"
|
||||
exit 1
|
||||
fi
|
||||
echo "VERSION=$ver" >> $GITHUB_OUTPUT
|
||||
|
||||
# Build metadata
|
||||
|
Loading…
x
Reference in New Issue
Block a user