|
10 | 10 | NIGHTLY_TOOLCHAIN: nightly-2025-04-03
|
11 | 11 |
|
12 | 12 | jobs:
|
13 |
| - build-binaries: |
14 |
| - name: Build Branch |
15 |
| - runs-on: ubicloud-standard-16 |
16 |
| - container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5 |
17 |
| - env: |
18 |
| - BIN_DIR: target/release |
19 |
| - steps: |
20 |
| - - name: Check Out Repo |
21 |
| - uses: actions/checkout@v4 |
22 |
| - - name: Compile Binary |
23 |
| - run: | |
24 |
| - CARGO_INCREMENTAL=0 cargo build --locked --release \ |
25 |
| - --features frequency-westend,frequency-bridging |
26 |
| - - name: Run Sanity Checks |
27 |
| - working-directory: ${{env.BIN_DIR}} |
28 |
| - run: | |
29 |
| - file frequency && \ |
30 |
| - ./frequency --version |
31 |
| - mv frequency frequency-testnet-westend.amd64 |
32 |
| - - name: Upload Artifact |
33 |
| - uses: actions/upload-artifact@v4 |
34 |
| - with: |
35 |
| - name: artifacts-binary-testnet-westend-${{github.run_id}} |
36 |
| - path: ${{env.BIN_DIR}}/frequency-testnet-westend.amd64 |
37 |
| - if-no-files-found: error |
38 |
| - |
39 | 13 | release-node-images:
|
40 | 14 | needs: build-binaries
|
41 | 15 | name: Release ${{matrix.arch}} Node Docker Image for ${{matrix.network}}
|
|
50 | 24 | env:
|
51 | 25 | DOCKER_HUB_PROFILE: frequencychain
|
52 | 26 | IMAGE_NAME: parachain-node
|
53 |
| - NEW_RELEASE_TAG: v0.0.1 |
| 27 | + NEW_RELEASE_TAG: v0.0.2 |
54 | 28 | runs-on: ubuntu-24.04
|
55 | 29 | steps:
|
56 | 30 | - name: Set Env Vars
|
|
60 | 34 | echo "RELEASE_BIN_FILENAME=${{matrix.release-file-name-prefix}}.${{matrix.arch}}" >> $GITHUB_ENV
|
61 | 35 | - name: Check Out Repo
|
62 | 36 | uses: actions/checkout@v4
|
63 |
| - - name: Download Binaries |
64 |
| - id: download-binaries |
65 |
| - uses: actions/download-artifact@v4 |
66 |
| - with: |
67 |
| - pattern: artifacts-binary-${{matrix.network}}-${{github.run_id}} |
68 |
| - path: . |
69 | 37 | - name: Extract and List Downloaded Binaries
|
70 | 38 | run: |
|
71 | 39 | download_dir=${{steps.download-binaries.outputs.download-path}}
|
|
75 | 43 | - name: Move Binary to Target Dir
|
76 | 44 | run: |
|
77 | 45 | mkdir -p ${{env.BIN_DIR}}
|
78 |
| - mv ${{env.RELEASE_BIN_FILENAME}} ${{env.BIN_DIR}}/${{env.BUILT_BIN_FILENAME}} |
| 46 | + mv ./frequency ${{env.BIN_DIR}}/${{env.BUILT_BIN_FILENAME}} |
79 | 47 | chmod +x ${{env.BIN_DIR}}/${{env.BUILT_BIN_FILENAME}}
|
80 | 48 | - name: Set up QEMU
|
81 | 49 | uses: docker/setup-qemu-action@v3
|
|
0 commit comments