From 55c61f9bf1cc0dd8b02b9e17982fd30b2b99a9c4 Mon Sep 17 00:00:00 2001 From: rawdaGastan Date: Thu, 26 Sep 2024 11:42:35 +0300 Subject: [PATCH] update release workflow for docker2fl --- .github/workflows/release.yaml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0a15f6d..63344d9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -31,6 +31,9 @@ jobs: - name: Strip run: | strip target/x86_64-unknown-linux-musl/release/rfs + - name: Strip + run: | + strip target/x86_64-unknown-linux-musl/release/docker2fl - name: Create Release id: create_release uses: actions/create-release@v1 @@ -41,8 +44,8 @@ jobs: release_name: Release ${{ github.ref }} draft: false prerelease: false - - name: Upload Release Asset - id: upload-release-asset + - name: Upload Release Asset for RFS + id: upload-release-asset-rfs uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -51,3 +54,14 @@ jobs: asset_path: target/x86_64-unknown-linux-musl/release/rfs asset_name: rfs asset_content_type: application/x-pie-executable + + - name: Upload Release Asset for docker2fl + id: upload-release-asset-docker2fl + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: target/x86_64-unknown-linux-musl/release/docker2fl + asset_name: docker2fl + asset_content_type: application/x-pie-executable