Skip to content

Commit cff3319

Browse files
committed
Separate docker build and native build github actions
1 parent d90f46a commit cff3319

1 file changed

Lines changed: 18 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,23 @@ jobs:
1313
build:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v3
17-
- uses: actions/setup-go@v4
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-go@v5
1818
with:
1919
go-version: 1.21.8
20-
- run: make NO_DOCKER=true
20+
- run: make NO_DOCKER=true release
21+
docker-build:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v4
25+
- name: Get Version
26+
id: get_version
27+
run: echo "sn_version=v$(cat shared/version.txt)" >> $GITHUB_OUTPUT
28+
- uses: docker/setup-buildx-action@v3
29+
- uses: docker/bake-action@v6
30+
env:
31+
VERSION: ${{steps.get_version.outputs.sn_version}}
32+
with:
33+
push: false
34+
files: docker/daemon-bake.hcl
35+
targets: smartnode

0 commit comments

Comments
 (0)