File tree Expand file tree Collapse file tree 3 files changed +20
-8
lines changed Expand file tree Collapse file tree 3 files changed +20
-8
lines changed Original file line number Diff line number Diff line change
1
+ name : Docker Build
2
+ on :
3
+ pull_request :
4
+ push :
5
+
6
+ jobs :
7
+ build :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v4
11
+ - uses : docker/setup-buildx-action@v3
12
+ - run : docker build --tag=canto-network/canto .
13
+ - run : docker run -it --volume --rm canto-network/canto
Original file line number Diff line number Diff line change 1
- FROM golang:stretch AS build-env
1
+ FROM golang:1.21 AS build-env
2
2
3
3
WORKDIR /go/src/github.com/canto/canto
4
4
5
- RUN apt-get update -y
6
- RUN apt-get install git -y
7
-
8
5
COPY . .
9
6
10
7
RUN make build
11
8
12
- FROM golang:stretch
13
-
14
- RUN apt-get update -y
15
- RUN apt-get install ca-certificates jq -y
9
+ FROM debian:12-slim
16
10
17
11
WORKDIR /root
18
12
Original file line number Diff line number Diff line change 1
1
# Becoming A Validator
2
2
3
+ [ ![ Build Canto Core] ( https://github.com/Canto-Network/Canto/actions/workflows/build.yml/badge.svg )] ( https://github.com/Canto-Network/Canto/actions/workflows/build.yml )
4
+ [ ![ Docker Build] ( https://github.com/Canto-Network/Canto/actions/workflows/docker.yml/badge.svg )] ( https://github.com/Canto-Network/Canto/actions/workflows/docker.yml )
5
+ [ ![ Sims] ( https://github.com/Canto-Network/Canto/actions/workflows/sims.yml/badge.svg )] ( https://github.com/Canto-Network/Canto/actions/workflows/sims.yml )
6
+ [ ![ Tests / Code Coverage] ( https://github.com/Canto-Network/Canto/actions/workflows/test.yml/badge.svg )] ( https://github.com/Canto-Network/Canto/actions/workflows/test.yml )
7
+
3
8
** How to validate on the Canto Mainnet**
4
9
5
10
* (canto_7700-1)*
You can’t perform that action at this time.
0 commit comments