Skip to content

Commit

Permalink
Merge pull request #2731 from fidencio/wip/stable-2.2-release-fix-usi…
Browse files Browse the repository at this point in the history
…ng-vendored-sources

stable-2.2 | workflows: Fix the config file path for using vendored sources
  • Loading branch information
fidencio authored Sep 24, 2021
2 parents d581cda + 52fdfc4 commit bc48a58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@ jobs:
- name: generate-and-upload-tarball
run: |
pushd $GITHUB_WORKSPACE/src/agent
cargo vendor >> .cargo/vendor
cargo vendor >> .cargo/config
popd
tag=$(echo $GITHUB_REF | cut -d/ -f3-)
tarball="kata-containers-$tag-vendor.tar.gz"
pushd $GITHUB_WORKSPACE
tar -cvzf "${tarball}" src/agent/.cargo/vendor src/agent/vendor
tar -cvzf "${tarball}" src/agent/.cargo/config src/agent/vendor
GITHUB_TOKEN=${{ secrets.GIT_UPLOAD_TOKEN }} hub release edit -m "" -a "${tarball}" "${tag}"
popd

0 comments on commit bc48a58

Please sign in to comment.