Skip to content

Commit

Permalink
Merge pull request #410 from bergwolf/github/action
Browse files Browse the repository at this point in the history
Fix convert and release workflow issues
  • Loading branch information
bergwolf authored Apr 28, 2022
2 parents 3163807 + 92ced2f commit acaf55d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/convert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
- name: Install Nydus binaries
run: |
NYDUS_VERSION=$(curl --silent "https://api.github.com/repos/dragonflyoss/image-service/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")')
wget https://github.com/dragonflyoss/image-service/releases/download/$NYDUS_VERSION/nydus-static-$NYDUS_VERSION-x86_64.tgz
tar xzf nydus-static-$NYDUS_VERSION-x86_64.tgz
wget https://github.com/dragonflyoss/image-service/releases/download/$NYDUS_VERSION/nydus-static-$NYDUS_VERSION-linux-amd64.tgz
tar xzf nydus-static-$NYDUS_VERSION-linux-amd64.tgz
sudo cp nydus-static/nydusify nydus-static/nydus-image /usr/local/bin/
- name: Log in to the container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ jobs:
echo "tag=$tag" >> $GITHUB_ENV
echo "tarball=$tarball" >> $GITHUB_ENV
- name: Release
if: ${{ github.event_name == 'push' }}
uses: softprops/action-gh-release@v1
with:
name: "Nydus Image Service ${{ env.tag }}"
Expand Down

0 comments on commit acaf55d

Please sign in to comment.