Skip to content

Commit

Permalink
chore(build): fix add blob to select appropriate file
Browse files Browse the repository at this point in the history
We also ensure that we only add nerdctl-<x.y.z>-linux-amd64 file, and not select nerdctl-full-<x.y.z>* file
  • Loading branch information
o-orand committed Mar 8, 2024
1 parent e03a55d commit b60cf9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addblob.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function addBlobOnChecksumChange() {


pushd src/github.com/containerd/nerdctl/
tar xfv ./nerdctl-1.3.1-linux-amd64.tar.gz
tar xfv ./nerdctl-*-linux-amd64.tar.gz
popd

addBlobOnChecksumChange src/github.com/containerd/nerdctl/nerdctl nerdctl/nerdctl
Expand Down
2 changes: 1 addition & 1 deletion vendir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ directories:
tag: v1.7.4
disableAutoChecksumValidation: true
assetNames: # only download specific assets (optional; v0.12.0+), see k3s declaration for details.
- "nerdctl-*-linux-amd64.tar.gz"
- "nerdctl-[0-9]*-linux-amd64.tar.gz"

0 comments on commit b60cf9a

Please sign in to comment.