-
-
Notifications
You must be signed in to change notification settings - Fork 113
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Creating an autodiscovery for dockerfile with version filter of type regex/semver
name: 'deps(dockerfile): bump all dependencies'
autodiscovery:
crawlers:
dockerfile:
versionfilter:
kind: regex/semver
pattern: '>=3.13.0, <3.14'
regex: (\d*\.\d*)-slim$
groupby: allCreates a manifest with a wrong versionFilter
name: 'deps(dockerfile): bump "python" digest'
sources:
python:
name: get latest image tag for "python"
kind: dockerimage
spec:
image: python
tagfilter: ""
versionfilter:
kind: regex/semver
pattern: ""
targets:
python:
name: 'deps: update Docker image "python" to "{{ source "python" }}"'
kind: dockerfile
spec:
file: Dockerfile
instruction:
keyword: FROM
matcher: python
sourceid: pythonExpected Behavior
The manifest should have the versionFilter
name: 'deps(dockerfile): bump "python" digest'
sources:
python:
name: get latest image tag for "python"
kind: dockerimage
spec:
image: python
tagfilter: ""
versionfilter:
kind: regex/semver
pattern: '>=3.13.0, <3.14'
regex: (\d*\.\d*)-slim$
targets:
python:
name: 'deps: update Docker image "python" to "{{ source "python" }}"'
kind: dockerfile
spec:
file: Dockerfile
instruction:
keyword: FROM
matcher: python
sourceid: pythonSteps To Reproduce
No response
Environment
- OS:
- updatecli:Pipeline Graph
Anything else?
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done