Skip to content

Commit

Permalink
Add a regex so main tag for r2d image is ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
sgibson91 committed Feb 6, 2023
1 parent cf7bfc3 commit 72cabb3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/bump-image-tags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 72cabb3

Please sign in to comment.