Skip to content

Commit 0745eeb

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! Cache Docker images on GitHub container registry
1 parent dbbd26c commit 0745eeb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

ci/build-in-docker.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,12 @@ default_branch_tag="$(cut -d: -f1 <<<"$docker_tag"):$(echo "${GITHUB_DEFAULT_BRA
3939
extra_build_args=()
4040

4141
if [[ "${GITHUB_ACTIONS:-}" != "" ]]; then
42-
echo "Building on GitHub actions, pushing cache"
42+
echo "Building on GitHub actions, storing cache on registry"
4343
extra_build_args+=(
44-
--output "type=registry,ref=${docker_tag}"
45-
--push
44+
--cache-to "type=registry,ref=${docker_tag}"
4645
)
4746
else
48-
echo "Local build, not pushing cache"
47+
echo "Local build, not storing cache on registry"
4948
fi
5049

5150
# building local image to "cache" installed dependencies for subsequent builds

0 commit comments

Comments
 (0)