Skip to content

Commit

Permalink
infra: Revert "Improve cache usage for container builds"
Browse files Browse the repository at this point in the history
This reverts commit 5df7a8b.

Seems that cache-ttl is a new option for podman. Unfortunately, it
wasn't mentioned in the release notes so not sure in which version it
was added.

Anyway let's revert this for now.
  • Loading branch information
jkonecny12 committed Aug 28, 2023
1 parent a7c5819 commit 3353d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ TEMPLATE_RENDERER = scripts/jinja-render

CONTAINER_ENGINE ?= podman
# build/run tweaks for all containers, such as --cap-add
CONTAINER_BUILD_ARGS ?= --cache-ttl=3h
CONTAINER_BUILD_ARGS ?= --no-cache
# HACK: bash's builtin `test -r` fails when running on Ubuntu host (GitHub) due to incompatible seccomp profile
CONTAINER_TEST_ARGS ?= $(shell grep -q ID=ubuntu /etc/os-release && echo --security-opt=seccomp=unconfined)
CONTAINER_REGISTRY ?= quay.io
Expand Down

0 comments on commit 3353d5b

Please sign in to comment.