v6.0.1 ICS post-transition #21
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Release Binary | |
on: | |
release: | |
types: [created] | |
jobs: | |
release: | |
permissions: write-all | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- | |
name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- | |
name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Docker compose | |
run: docker-compose up -d | |
- name: Copy binary | |
run: docker cp composable-centauri_node_1:/bin/centaurid ./centaurid | |
- name: Save sha256 sum | |
run: sha256sum ./centaurid > ./centaurid_sha256.txt | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
token: ${{ github.token }} | |
files: | | |
centaurid | |
centaurid_sha256.txt | |
- name: Dump docker logs on failure | |
if: failure() | |
uses: jwalton/gh-docker-logs@v2 |