Skip to content

Commit

Permalink
test release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
scx1332 committed Oct 26, 2023
1 parent 027cb36 commit 5a5acb9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,22 @@ jobs:
run: |
cargo binstall cross -y
- name: Create and push docker image
if: matrix.os == 'linux'
run: |
tag = echo ${{ github.ref }} | sed 's/refs\/tags\///g'
echo $tag
docker create --name build_container -t alpine
docker cp README.md erc20_processor:/usr/bin
docker tag erc20_processor:latest erc20_processor:${{ github.sha }}
docker commit erc20_processor golemfactory/erc20_processor:${{tag}}
docker push erc20_processor:latest
- name: Build binary target/${{ matrix.target }}/release/erc20_processor
run: |
${{ matrix.build-with }} build --profile release-lto --target ${{ matrix.target }}
- name: Compress binaries
run: |
# mv target/${{ matrix.target }}/release-lto/erc20_processor${{ matrix.exe }} target/${{ matrix.target }}/release-lto/erc20_processor${{ matrix.exe }}
Expand Down

0 comments on commit 5a5acb9

Please sign in to comment.