Skip to content

Commit f43aae2

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

2 files changed

Lines changed: 20 additions & 4 deletions

File tree

.github/workflows/build.yml

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

docker/rocketpool-dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
77
apt update && apt install -y \
88
build-essential \
99
gcc-aarch64-linux-gnu \
10-
libc6-dev-arm64-cross\
10+
libc6-dev-arm64-cross \
1111
g++-aarch64-linux-gnu \
1212
wget
1313
# Load the project's go mod dependencies into the image

0 commit comments

Comments
 (0)