@@ -24,7 +24,7 @@ describe('Docker tags', () => {
2424
2525 test ( 'PROXY_IMAGE_NAME uses a pinned version and matches the config Dockerfile' , ( ) => {
2626 expect ( PROXY_IMAGE_NAME ) . toMatch (
27- / ^ g h c r \. i o \/ g i t h u b \/ d e p e n d a b o t - u p d a t e - j o b - p r o x y \/ d e p e n d a b o t - u p d a t e - j o b - p r o x y : v \d .\d .\d { 14 } @ s h a 2 5 6 : [ a - z A - Z 0 - 9 ] { 64 } $ /
27+ / ^ g h c r \. i o \/ d e p e n d a b o t \/ p r o x y : v \d .\d .\d { 14 } @ s h a 2 5 6 : [ a - z A - Z 0 - 9 ] { 64 } $ /
2828 )
2929
3030 expect ( PROXY_IMAGE_NAME ) . toEqual ( getImageName ( 'Dockerfile.proxy' ) )
@@ -37,9 +37,7 @@ describe('Docker tags', () => {
3737 )
3838 }
3939
40- expect ( repositoryName ( PROXY_IMAGE_NAME ) ) . toMatch (
41- 'ghcr.io/github/dependabot-update-job-proxy/dependabot-update-job-proxy'
42- )
40+ expect ( repositoryName ( PROXY_IMAGE_NAME ) ) . toMatch ( 'ghcr.io/dependabot/proxy' )
4341 } )
4442
4543 test ( 'repositoryName handles named tags' , ( ) => {
@@ -106,32 +104,28 @@ describe('Docker tags', () => {
106104 test ( 'digestName returns the image name and digest minus the tagged version or reference' , ( ) => {
107105 expect (
108106 digestName (
109- 'ghcr.io/github/ dependabot-update-job-proxy/dependabot-update-job- proxy:v2.0.20221206155623 @sha256:1942aea0f57a3652d7694390dd4d8e6d08abca84b89383ee7ef9c6b57e00d247 '
107+ 'ghcr.io/dependabot/ proxy:v2.0.20260129233510 @sha256:aee1af4a514c0c5e573f3b33a51f9f2b9c58234cb011ea4d44b9e05aec92436c '
110108 )
111109 ) . toMatch (
112- 'ghcr.io/github/ dependabot-update-job-proxy/dependabot-update-job- proxy@sha256:1942aea0f57a3652d7694390dd4d8e6d08abca84b89383ee7ef9c6b57e00d247 '
110+ 'ghcr.io/dependabot/ proxy@sha256:aee1af4a514c0c5e573f3b33a51f9f2b9c58234cb011ea4d44b9e05aec92436c '
113111 )
114112
115113 expect (
116114 digestName (
117- 'ghcr.io/github/ dependabot-update-job-proxy/dependabot-update-job- proxy@sha256:1942aea0f57a3652d7694390dd4d8e6d08abca84b89383ee7ef9c6b57e00d247 '
115+ 'ghcr.io/dependabot/ proxy@sha256:aee1af4a514c0c5e573f3b33a51f9f2b9c58234cb011ea4d44b9e05aec92436c '
118116 )
119117 ) . toMatch (
120- 'ghcr.io/github/ dependabot-update-job-proxy/dependabot-update-job- proxy@sha256:1942aea0f57a3652d7694390dd4d8e6d08abca84b89383ee7ef9c6b57e00d247 '
118+ 'ghcr.io/dependabot/ proxy@sha256:aee1af4a514c0c5e573f3b33a51f9f2b9c58234cb011ea4d44b9e05aec92436c '
121119 )
122120 } )
123121
124122 test ( 'hasDigest identifies when a digest is present' , ( ) => {
125123 expect (
126124 hasDigest (
127- 'ghcr.io/github/ dependabot-update-job-proxy/dependabot-update-job- proxy:v2.0.20221206155623 @sha256:1942aea0f57a3652d7694390dd4d8e6d08abca84b89383ee7ef9c6b57e00d247 '
125+ 'ghcr.io/dependabot/ proxy:v2.0.20260129233510 @sha256:aee1af4a514c0c5e573f3b33a51f9f2b9c58234cb011ea4d44b9e05aec92436c '
128126 )
129127 ) . toEqual ( true )
130128
131- expect (
132- hasDigest (
133- 'ghcr.io/github/dependabot-update-job-proxy/dependabot-update-job-proxy:v1'
134- )
135- ) . toEqual ( false )
129+ expect ( hasDigest ( 'ghcr.io/dependabot/proxy:v1' ) ) . toEqual ( false )
136130 } )
137131} )
0 commit comments