Skip to content

Commit ef66865

Browse files
committed
renovate.json: add regex for cypress docker image
Pin the browser versions with the digest, because updating them with renovate did not work.
1 parent 77af5cb commit ef66865

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ services:
159159
- FUNCTION_ENABLE_INCOGNITO_MODE=true
160160

161161
e2e:
162-
image: cypress/included:cypress-13.13.0-node-20.15.1-chrome-126.0.6478.114-1-ff-128.0-edge-126.0.2592.61-1@sha256:f9733a2cadc3aa270e40f8ce1158a23cb99703476a9db7154b4ecc51ba02bd5c
162+
image: cypress/included:13.13.0@sha256:f9733a2cadc3aa270e40f8ce1158a23cb99703476a9db7154b4ecc51ba02bd5c
163163
profiles: ['e2e']
164164
container_name: 'ecamp3-e2e'
165165
environment:

renovate.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,16 @@
264264
"versioningTemplate": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+).*?$",
265265
"extractVersionTemplate": "^v(?<version>.*)$"
266266
},
267+
{
268+
"customType": "regex",
269+
"fileMatch": [
270+
"^docker-compose.yml$"
271+
],
272+
"matchStrings": [
273+
"image:\\s+'(?<depName>cypress/included):(?<currentValue>.*)@(?<currentDigest>.*)'\\s"
274+
],
275+
"datasourceTemplate": "docker"
276+
},
267277
{
268278
"customType": "regex",
269279
"fileMatch": [

0 commit comments

Comments
 (0)