chore(ci): Properly suffix -main on upstream images

This commit is contained in:
Kyle Gospodnetich 2024-02-09 14:09:54 -08:00
parent b09fb7f48a
commit c8084e4258

View File

@ -188,8 +188,6 @@ jobs:
set -eo pipefail
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"]')
elif [[ "${{ env.IMAGE_FLAVOR}}" == "main" ]]; then
ver=$(skopeo inspect docker://ghcr.io/ublue-os/${{ matrix.base_image_name }}:${{ matrix.major_version }} | jq -r '.Labels["org.opencontainers.image.version"]')
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