Skip to content

Commit

Permalink
Uses yq to retrieve rock version
Browse files Browse the repository at this point in the history
  • Loading branch information
gruyaume committed Oct 4, 2023
1 parent 131d914 commit 4d14815
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

```bash
rockcraft pack -v
sudo skopeo --insecure-policy copy oci-archive:vault_<version>_amd64.rock docker-daemon:vault:<version>
docker run vault:<version>
vault_version=$(yq '.version' rockcraft.yaml)
sudo skopeo --insecure-policy copy oci-archive:vault_${vault_version}_amd64.rock docker-daemon:vault:${vault_version}
docker run vault:${vault_version}
```

0 comments on commit 4d14815

Please sign in to comment.