Skip to content

Commit a7f4d37

Browse files
committed
add docker build CI
1 parent d0b74ff commit a7f4d37

File tree

2 files changed

+395
-188
lines changed

2 files changed

+395
-188
lines changed

Diff for: .github/workflows/prod.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,15 @@ jobs:
3737
run: cargo clippy --release --features arkworks
3838
#- name: Format check (verbose)
3939
# run: cargo fmt -- --check --verbose $(find . -name '*.rs' -not -path './src/protobuf/*')
40-
40+
41+
# New steps for Docker build
42+
- name: Set up Docker Buildx
43+
uses: docker/setup-buildx-action@v1
44+
- name: Build Docker image
45+
uses: docker/build-push-action@v2
46+
with:
47+
context: .
48+
push: false
49+
tags: drand:latest
50+
cache-from: type=gha
51+
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)