@@ -56,9 +56,10 @@ target "base" {
5656target "portal-data-availability" {
5757 inherits = [" bootstrap" , " docker-metadata-action" ]
5858 args = {
59+ DOCKER_META_IMAGES = replace (target.docker- metadata- action.args.DOCKER_META_IMAGES, " __service__" , " portal-react-data-availability" )
5960 YARN_VERSION = " ${ YARN_VERSION } "
6061 }
61- tags = [for tag in target . docker-metadata-action . tags : tag ]
62+ tags = [for tag in target . docker-metadata-action . tags : replace ( tag, " __service__ " , " portal-react-data-availability " ) ]
6263 dockerfile = " apps/data-availability/bake.Dockerfile"
6364 contexts = {
6465 " portal-react-apps-parent:latest-builder-base" = " target:base"
@@ -70,9 +71,10 @@ target "portal-data-availability" {
7071target "portal-data-product-detail" {
7172 inherits = [" bootstrap" , " docker-metadata-action" ]
7273 args = {
74+ DOCKER_META_IMAGES = replace (target.docker- metadata- action.args.DOCKER_META_IMAGES, " __service__" , " portal-react-data-products" )
7375 YARN_VERSION = " ${ YARN_VERSION } "
7476 }
75- tags = [for tag in target . docker-metadata-action . tags : tag ]
77+ tags = [for tag in target . docker-metadata-action . tags : replace ( tag, " __service__ " , " portal-react-data-products " ) ]
7678 dockerfile = " apps/data-product-detail/bake.Dockerfile"
7779 contexts = {
7880 " portal-react-apps-parent:latest-builder-base" = " target:base"
@@ -84,9 +86,10 @@ target "portal-data-product-detail" {
8486target "portal-explore-data-products" {
8587 inherits = [" bootstrap" , " docker-metadata-action" ]
8688 args = {
89+ DOCKER_META_IMAGES = replace (target.docker- metadata- action.args.DOCKER_META_IMAGES, " __service__" , " portal-react-browse" )
8790 YARN_VERSION = " ${ YARN_VERSION } "
8891 }
89- tags = [for tag in target . docker-metadata-action . tags : tag ]
92+ tags = [for tag in target . docker-metadata-action . tags : replace ( tag, " __service__ " , " portal-react-browse " ) ]
9093 dockerfile = " apps/explore-data-products/bake.Dockerfile"
9194 contexts = {
9295 " portal-react-apps-parent:latest-builder-base" = " target:base"
@@ -98,9 +101,10 @@ target "portal-explore-data-products" {
98101target "portal-prototype-data" {
99102 inherits = [" bootstrap" , " docker-metadata-action" ]
100103 args = {
104+ DOCKER_META_IMAGES = replace (target.docker- metadata- action.args.DOCKER_META_IMAGES, " __service__" , " portal-react-prototype-data" )
101105 YARN_VERSION = " ${ YARN_VERSION } "
102106 }
103- tags = [for tag in target . docker-metadata-action . tags : tag ]
107+ tags = [for tag in target . docker-metadata-action . tags : replace ( tag, " __service__ " , " portal-react-prototype-data " ) ]
104108 dockerfile = " apps/prototype-data/bake.Dockerfile"
105109 contexts = {
106110 " portal-react-apps-parent:latest-builder-base" = " target:base"
@@ -112,9 +116,10 @@ target "portal-prototype-data" {
112116target "portal-samples" {
113117 inherits = [" bootstrap" , " docker-metadata-action" ]
114118 args = {
119+ DOCKER_META_IMAGES = replace (target.docker- metadata- action.args.DOCKER_META_IMAGES, " __service__" , " portal-react-samples" )
115120 YARN_VERSION = " ${ YARN_VERSION } "
116121 }
117- tags = [for tag in target . docker-metadata-action . tags : tag ]
122+ tags = [for tag in target . docker-metadata-action . tags : replace ( tag, " __service__ " , " portal-react-samples " ) ]
118123 dockerfile = " apps/sample-explorer/bake.Dockerfile"
119124 contexts = {
120125 " portal-react-apps-parent:latest-builder-base" = " target:base"
@@ -126,9 +131,10 @@ target "portal-samples" {
126131target "portal-taxon" {
127132 inherits = [" bootstrap" , " docker-metadata-action" ]
128133 args = {
134+ DOCKER_META_IMAGES = replace (target.docker- metadata- action.args.DOCKER_META_IMAGES, " __service__" , " portal-react-taxon" )
129135 YARN_VERSION = " ${ YARN_VERSION } "
130136 }
131- tags = [for tag in target . docker-metadata-action . tags : tag ]
137+ tags = [for tag in target . docker-metadata-action . tags : replace ( tag, " __service__ " , " portal-react-taxon " ) ]
132138 dockerfile = " apps/taxonomic-lists/bake.Dockerfile"
133139 contexts = {
134140 " portal-react-apps-parent:latest-builder-base" = " target:base"
0 commit comments