From d46d2379fc80f641acf3d3cade7c55eb6e85c304 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Golembiovsk=C3=BD?= Date: Tue, 31 Oct 2023 16:42:36 +0100 Subject: [PATCH] Clarify format of the `expires-after` label MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Format of the `expires-after` label was vague and it was not obvious what are the values it can take. Possible values are described in the source code [1]. [1] https://github.com/quay/quay/blob/master/util/timedeltastring.py Signed-off-by: Tomáš Golembiovský --- modules/proc_use-quay-tags.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/proc_use-quay-tags.adoc b/modules/proc_use-quay-tags.adoc index a814e2af0..eda0f5e69 100644 --- a/modules/proc_use-quay-tags.adoc +++ b/modules/proc_use-quay-tags.adoc @@ -121,7 +121,9 @@ image:tag-expires-ui.png[Change tag expiration under the Options icon or from th Adding a label like `quay.expires-after=20h` via the Dockerfile LABEL command will cause a tag to automatically expire after the time indicated. -The time values could be something like `1h`, `2d`, `3w` for hours, days, and weeks, respectively, from the time the image is built. +The time values could be something like `1h`, `2d`, `3w`. Expiration time is +calculated from the time the image is built and the suffix can be 's' for +seconds, 'm' for minutes, 'h' for hours, 'd' for days and 'w' for weeks. === Setting tag expiration from the repository