We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be11c0c commit 5ae7231Copy full SHA for 5ae7231
1 file changed
justfile
@@ -26,6 +26,13 @@ podman_remote := if _docker_bin_name == 'podman' {
26
'false'
27
}
28
29
+# pull policy
30
+_pull_policy := if _docker_bin_name == 'podman' {
31
+ '=never'
32
+} else {
33
+ ''
34
+}
35
+
36
targets := 'go rust rust-musl tools devcontainer'
37
38
load := 'false'
@@ -152,7 +159,7 @@ _build *args='':
152
159
#!/usr/bin/env bash
153
160
set -euo pipefail
154
161
155
- cmd="{{ docker_bin }} buildx build . {{ _tag }} --pull \
162
+ cmd="{{ docker_bin }} buildx build . {{ _tag }} --pull{{ _pull_policy }} \
156
163
--progress='{{ DOCKER_PROGRESS }}' \
157
164
{{ output }} \
158
165
{{ if docker_arch != '' { '--platform=' + docker_arch } else { '' } }} \
0 commit comments