Skip to content

Commit

Permalink
Merge pull request #12 from hemanthnakkina/fix-publish-all-rocks
Browse files Browse the repository at this point in the history
Fix retrieving rock name in publish_branch workflow
  • Loading branch information
gboutry committed Sep 27, 2023
2 parents 86a7d9f + d6fa0ac commit 941038b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish_branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
- name: Import and push to github package
run: |
rock_file="${{ steps.rockcraft.outputs.rock }}"
rockname=$(echo $rock_file | cut -d"_" -f1)
rockname=$(echo $rock_file | cut -d"/" -f2)
image_name="$(yq '.name' rocks/$rockname/rockcraft.yaml)"
version="$(yq '.version' rocks/$rockname/rockcraft.yaml)"
sudo skopeo \
Expand Down

0 comments on commit 941038b

Please sign in to comment.