mirror of
https://github.com/optim-enterprises-bv/secureblue.git
synced 2025-11-07 22:03:10 +00:00
fix: images built aren't versioned properly #86
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -104,7 +104,7 @@ jobs:
|
|||||||
- name: Get current version
|
- name: Get current version
|
||||||
id: labels
|
id: labels
|
||||||
run: |
|
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
|
echo "VERSION=$ver" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
# Build metadata
|
# Build metadata
|
||||||
|
|||||||
Reference in New Issue
Block a user