Skip to content

Commit

Permalink
cannot use skopeo for version
Browse files Browse the repository at this point in the history
  • Loading branch information
m2Giles committed Nov 11, 2024
1 parent 1b8c201 commit a7b0c1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,16 @@ jobs:
id: generate-tags
shell: bash
run: |
version=$(podman inspect ${{ env.IMAGE_NAME }}:${{ env.DEFAULT_TAG }} | jq -r '.[].Config.Labels["org.opencontainers.image.version"]')
echo "$version"
alias_tags="$(just generate-build-tags \
${{ matrix.base_name }} \
${{ matrix.stream_name }} \
${{ matrix.image_flavor }} \
"1" \
${{ github.event.number }} \
${{ github.event_name }})" \
"$(skopeo inspect containers-storage:localhost/${{ env.IMAGE_NAME }}:${{ env.DEFAULT_TAG }} | jq -r '.Labels["org.opencontainers.image.version"]')"
$version
echo "Tags for this Action..."
echo "$alias_tags"
Expand Down

0 comments on commit a7b0c1f

Please sign in to comment.