Skip to content

Commit

Permalink
Fix release flow.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvc94ch committed Feb 27, 2023
1 parent 976c7bd commit b1ca9cc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,17 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v3

- run: docker compose build
- run: docker compose push
- run: sudo apt-get update
- name: Install deps
run: sudo apt-get install musl-dev musl-tools

- name: Install rust toolchain
uses: hecrj/setup-rust-action@v1
with:
targets: x86_64-unknown-linux-musl

- run: ./build_connectors.sh
- run: ./push_connectors.sh

- uses: withlogicco/setup-compose-cli@v1
- run: docker context create ecs aws --from-env
Expand Down
2 changes: 1 addition & 1 deletion build_connectors.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# #!/bin/sh
#!/bin/sh
cargo build -p rosetta-server-bitcoin --target x86_64-unknown-linux-musl --release
mkdir -p target/release/bitcoin/bin
cp target/x86_64-unknown-linux-musl/release/rosetta-server-bitcoin target/release/bitcoin/bin
Expand Down
4 changes: 4 additions & 0 deletions push_connectors.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
docker push analoglabs/connector-bitcoin
docker push analoglabs/connector-ethereum
docker push analoglabs/connector-polkadot

0 comments on commit b1ca9cc

Please sign in to comment.