Skip to content

Commit

Permalink
Merge pull request #6 from Zindswini/main
Browse files Browse the repository at this point in the history
Pass Version Tag From Upstream Using Scopeo
  • Loading branch information
KyleGospo authored Apr 5, 2023
2 parents 8225cc4 + 6ad0c4f commit 6ce7704
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ jobs:
- name: Get current version
id: labels
run: |
docker pull ghcr.io/ublue-os/${{ format('bazzite{0}', matrix.image_name) }}:${{ matrix.major_version }}
ver=$(docker inspect ghcr.io/ublue-os/${{ format('bazzite{0}', matrix.image_name) }}:${{ matrix.major_version }} | jq -r '.[].Config.Labels["org.opencontainers.image.version"]')
ver=$(skopeo inspect docker://ghcr.io/ublue-os/kinoite-nvidia:${{ matrix.major_version }} | jq -r '.Labels["org.opencontainers.image.version"]')
echo "VERSION=$ver" >> $GITHUB_OUTPUT
# Build metadata
Expand Down

0 comments on commit 6ce7704

Please sign in to comment.