From 72cabb32951601e251e51c6ec628a65cb5cb39bc Mon Sep 17 00:00:00 2001 From: Sarah Gibson Date: Mon, 6 Feb 2023 11:57:30 +0000 Subject: [PATCH] Add a regex so main tag for r2d image is ignored --- .github/workflows/bump-image-tags.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bump-image-tags.yaml b/.github/workflows/bump-image-tags.yaml index f51596d1cd..93a8f446b8 100644 --- a/.github/workflows/bump-image-tags.yaml +++ b/.github/workflows/bump-image-tags.yaml @@ -30,7 +30,10 @@ jobs: # Bump repo2docker image in BinderHub helm chart - name: "BinderHub/repo2docker bump" config_path: "helm-charts/binderhub/values.yaml" - images_info: '[{"values_path": ".binderhub.config.BinderHub.build_image"}]' + # We use regex to select any image tag that begins with a number since + # repo2docker is tagged something like YYYY.MM.N-NN.hash. This will + # explicitly ignore the 'main' tag. + images_info: '[{"values_path": ".binderhub.config.BinderHub.build_image", "regexpr": "^[0-9].*"}]' # Bump images in openscapes cluster - name: "OpenScapes profiles"