Skip to content

Commit 60f2b3f

Browse files
committed
chore: new workflow
1 parent 91e83e1 commit 60f2b3f

File tree

2 files changed

+38
-2
lines changed

2 files changed

+38
-2
lines changed

.github/workflows/binary.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Release
2+
3+
permissions:
4+
contents: write
5+
6+
on:
7+
push:
8+
branches:
9+
- lyra
10+
11+
jobs:
12+
build:
13+
name: Build and Release
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Install Rust
19+
run: rustup update stable && rustup default stable
20+
21+
- name: Build
22+
run: cargo build --release
23+
24+
- name: Package Binary
25+
run: |
26+
cd target/release
27+
tar czf ../../binary.tar.gz *
28+
cd ../..
29+
30+
- name: Create Release
31+
id: create_release
32+
uses: softprops/action-gh-release@v1
33+
with:
34+
files: binary.tar.gz
35+
draft: false
36+
prerelease: false
37+
generate_release_notes: true

k8s/sf-set.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ spec:
2424
cloud.google.com/machine-family: "c3"
2525
containers:
2626
- name: dolos-container
27-
image: us-central1-docker.pkg.dev/comet-7aaf0/comet-ar/dolos:sha-2520fae
27+
image: us-central1-docker.pkg.dev/comet-7aaf0/comet-ar/dolos:sha-91e83e1
2828
tty: true
29-
stdin: true
3029
ports:
3130
- containerPort: 50051
3231

0 commit comments

Comments
 (0)