diff options
| author | Max Resnick <max@ofmax.li> | 2025-11-24 07:08:49 -0800 |
|---|---|---|
| committer | Max Resnick <max@ofmax.li> | 2025-11-24 07:08:49 -0800 |
| commit | 879380dc583442cd1025223f3537fd531ab2a5ae (patch) | |
| tree | 769bc0c187a8a23e06547e36c8c7878ac0819f74 /justfile | |
| parent | 5b4f672b6a2d66db507b62b770c59d907dfe927e (diff) | |
| download | grumpy-containers-879380dc583442cd1025223f3537fd531ab2a5ae.tar.gz | |
feat: switch to buildxHEADCHECKPOINTmaster
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -21,7 +21,7 @@ build-container container: #!/usr/bin/env bash base_ver=$(cat src/base/VERSION) tag=$(cat src/{{container}}/VERSION) - docker build --build-arg BASE_VER=$base_ver -t {{registry_url}}/{{container}}:$tag -f src/{{container}}/Dockerfile src/{{container}} + docker buildx build --build-arg BASE_VER=$base_ver -t {{registry_url}}/{{container}}:$tag -f src/{{container}}/Dockerfile src/{{container}} --load echo "{{container}}/$tag has been built" # Push a single container @@ -56,8 +56,7 @@ build-targets: for target in src/$container/targets/*; do target_name=$(basename $target) tag=$(cat src/$container/VERSION) - docker build --target $target_name -t {{registry_url}}/$container:$tag-$target_name -f src/$container/Dockerfile src/$container - docker build --target $target_name -t {{registry_url}}/$container:$target_name -f src/$container/Dockerfile src/$container + docker buildx build --target $target_name -t {{registry_url}}/$container:$tag-$target_name -t {{registry_url}}/$container:$target_name -f src/$container/Dockerfile src/$container --load echo "$container/$target_name/$tag has been built" done done |