-
Notifications
You must be signed in to change notification settings - Fork 26
71 lines (63 loc) · 2.06 KB
/
manual.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: "Manual Deploying Rollup Data Availability"
on: workflow_dispatch
jobs:
git-submodules-update:
name: "Build and deploy Rollup Data Availability"
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# - name: Build "da-rpc" Docker image and push
# uses: docker/build-push-action@v5
# with:
# context: .
# push: true
# file: ./crates/da-rpc-sys/Dockerfile
# tags: |
# ghcr.io/nuffle-labs/data-availability/da-rpc:${{ github.sha }}
# ghcr.io/nuffle-labs/data-availability/da-rpc:latest
- name: Build "sidecar" Docker image and push
uses: docker/build-push-action@v5
with:
context: .
push: true
file: ./bin/sidecar/Dockerfile
tags: |
ghcr.io/nuffle-labs/data-availability/sidecar:${{ github.sha }}
ghcr.io/nuffle-labs/data-availability/sidecar:latest
changelog:
name: Generate changelog
runs-on: ubuntu-latest
outputs:
release_body: ${{ steps.git-cliff.outputs.content }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Generate a changelog
uses: orhun/git-cliff-action@v3
id: git-cliff
with:
config: cliff.toml
args: -vv --latest --strip header
env:
OUTPUT: CHANGES.md
GITHUB_REPO: ${{ github.repository }}
# use release body in the same job
- name: Upload the binary releases
uses: svenstaro/upload-release-action@v2
with:
file: binary_release.zip
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
body: ${{ steps.git-cliff.outputs.content }}