mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-07 14:32:17 -04:00
bazel: allow custom container_prefix (#1693)
* build: allow custom container registry * build: fix .bazeloverwriterc import
This commit is contained in:
parent
12216ea997
commit
1bdf410b52
13 changed files with 192 additions and 257 deletions
|
@ -28,7 +28,9 @@ mkdir build
|
|||
cd build
|
||||
# build required binaries for a dev build
|
||||
# and symlink them into the current directory
|
||||
bazel run //:devbuild
|
||||
# also push the built container images
|
||||
# After the first run, set the pushed imaged to public.
|
||||
bazel run //:devbuild --container_prefix=ghcr.io/USERNAME/constellation
|
||||
./constellation ...
|
||||
# modify code
|
||||
# rerun to ensure that all binaries are up to date
|
||||
|
@ -36,6 +38,12 @@ bazel run //:devbuild
|
|||
./constellation ...
|
||||
```
|
||||
|
||||
Overwrite the default container_prefix in the `.bazeloverwriterc` in the root of the workspace:
|
||||
```bazel
|
||||
# cat .bazeloverwriterc
|
||||
build --container_prefix=ghcr.io/USERNAME
|
||||
```
|
||||
|
||||
Bazel build:
|
||||
|
||||
```sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue