Skip to content

Commit

Permalink
✨ fix youki download
Browse files Browse the repository at this point in the history
  • Loading branch information
Guerteltier committed Mar 30, 2024
1 parent 777ca5c commit efc004f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -290,13 +290,12 @@ jobs:
popd
- name: Download youki
run: |
VERSION_U_005F_LL=$(echo $VERSION_U_002E_FS|sed "s/\./_/g")
wget https://github.com/containers/youki/releases/download/v${VERSION_U_002E_FS}/youki_${VERSION_U_005F_LL}_linux.tar.gz
tar xOf youki_${VERSION_U_005F_LL}_linux.tar.gz youki_${VERSION_U_005F_LL}_linux/youki-${VERSION_U_002E_FS}/youki > /opt/youki
rm -f youki_${VERSION_U_005F_LL}_linux.tar.gz
wget https://github.com/containers/youki/releases/download/v${VERSION}/youki-${VERSION}-x86_64-musl.tar.gz
tar xOf youki-${VERSION}-x86_64-musl.tar.gz youki > /opt/youki
rm -f youki-${VERSION}-x86_64-musl.tar.gz
chmod +x /opt/youki
env:
VERSION_U_002E_FS: 0.3.2
VERSION: 0.3.2
- name: Setup Python
uses: actions/setup-python@v5
with:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -373,13 +373,12 @@ jobs:
popd
- name: Download youki
run: |
VERSION_U_005F_LL=$(echo $VERSION_U_002E_FS|sed "s/\./_/g")
wget https://github.com/containers/youki/releases/download/v${VERSION_U_002E_FS}/youki_${VERSION_U_005F_LL}_linux.tar.gz
tar xOf youki_${VERSION_U_005F_LL}_linux.tar.gz youki_${VERSION_U_005F_LL}_linux/youki-${VERSION_U_002E_FS}/youki > /opt/youki
rm -f youki_${VERSION_U_005F_LL}_linux.tar.gz
wget https://github.com/containers/youki/releases/download/v${VERSION}/youki-${VERSION}-x86_64-musl.tar.gz
tar xOf youki-${VERSION}-x86_64-musl.tar.gz youki > /opt/youki
rm -f youki-${VERSION}-x86_64-musl.tar.gz
chmod +x /opt/youki
env:
VERSION_U_002E_FS: 0.3.2
VERSION: 0.3.2
- name: Setup Python
uses: actions/setup-python@v5
with:
Expand Down

0 comments on commit efc004f

Please sign in to comment.