Skip to content

Commit 03168aa

Browse files
authored
Merge pull request #128 from thin-edge/dev-rename-local-build-task
dev: rename local build task
2 parents b7f70a2 + 61f4019 commit 03168aa

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
go install github.com/goreleaser/nfpm/v2/cmd/nfpm@latest
8484
go install github.com/goreleaser/goreleaser/v2@latest
8585
- name: Build package (for testing)
86-
run: just release-local
86+
run: just build-local
8787

8888
#
8989
# Test

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ To build the project use the following steps:
163163
3. Build the packages
164164

165165
```sh
166-
just release-local
166+
just build-local
167167
```
168168

169169
The built packages are created under the `./dist` folder.
@@ -188,7 +188,7 @@ To run the tests you will need to have python3 >> 3.9 installed on your syste
188188
2. Build the software management plugin
189189

190190
```sh
191-
just release-local
191+
just build-local
192192
```
193193

194194
3. Build the test images

justfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,13 @@ release *ARGS='':
3030
docker context use default
3131
goreleaser release --clean --auto-snapshot {{ARGS}}
3232

33+
# install docker buildx and allow multi-arch builds
34+
build-setup:
35+
docker buildx install
36+
docker run --privileged --rm tonistiigi/binfmt --install all
37+
3338
# Build a release locally (for testing the release artifacts)
34-
release-local:
39+
build-local:
3540
just -f "{{justfile()}}" release --snapshot
3641

3742
# Install python virtual environment

0 commit comments

Comments
 (0)