Skip to content

Commit 0ddb06e

Browse files
committed
don't push and load at the same time
1 parent 5a0260b commit 0ddb06e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build-docker-image.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ run() {
2323

2424
if "${push}"; then
2525
build_args+=(--push)
26+
else
27+
build_args+=(--load)
28+
fi
29+
2630
fi
2731

2832
local dockerfile="Dockerfile.${2}"
@@ -64,7 +68,7 @@ run() {
6468
;;
6569
esac
6670

67-
build_args+=(--pull --load)
71+
build_args+=(--pull)
6872

6973
if [[ -n "${GITHUB_ACTIONS-}" ]]; then
7074
build_args+=(

0 commit comments

Comments
 (0)