chore(ci): the ARG_ was missing from the env var in version lookup

This commit is contained in:
Benjamin Sherman 2023-08-26 20:32:04 -05:00
parent 87fe7febb6
commit c0f2a66ffc
No known key found for this signature in database
GPG key ID: 24E3D151565CA98B

View file

@ -89,7 +89,7 @@ jobs:
- name: Get current version
id: labels
run: |
ver=$(skopeo inspect docker://ghcr.io/ublue-os/${{ env.ARG_SOURCE_IMAGE }}-${{ env.ARG_SOURCE_SUFFIX }}:${{ env.FEDORA_VERSION}} | jq -r '.Labels["org.opencontainers.image.version"]')
ver=$(skopeo inspect docker://ghcr.io/ublue-os/${{ env.ARG_SOURCE_IMAGE }}-${{ env.ARG_SOURCE_SUFFIX }}:${{ env.ARG_FEDORA_VERSION }}${{ env.ARG_NVIDIA_VERSION }} | jq -r '.Labels["org.opencontainers.image.version"]')
echo "VERSION=$ver" >> $GITHUB_OUTPUT
# Build metadata