fix: images built aren't versioned properly #86

This commit is contained in:
ER
2023-06-30 12:16:33 +03:00
committed by EinoHR
parent d5a35ca31b
commit fe13ef1236

View File

@@ -104,7 +104,7 @@ jobs:
- name: Get current version
id: labels
run: |
ver=$(skopeo inspect docker://quay.io/fedora-ostree-desktops/${{ env.SOURCE_IMAGE }}:${{ matrix.major_version }} | jq -r '.Labels["org.opencontainers.image.version"]')
ver=$(skopeo inspect docker://${{ env.BASE_IMAGE_URL }}:${{ env.FEDORA_MAJOR_VERSION }} | jq -r '.Labels["org.opencontainers.image.version"]')
echo "VERSION=$ver" >> $GITHUB_OUTPUT
# Build metadata