@@ -21,27 +21,50 @@ target "gateway" {
2121 ]
2222}
2323
24+ target "gateway_bun" {
25+ context = " packages/gateway"
26+ dockerfile = " bun.Dockerfile"
27+ platforms = [" linux/amd64" , " linux/arm64" ]
28+ tags = formatlist (" ghcr.io/graphql-hive/gateway:%s-bun" , split (" ," , GATEWAY_TAGS))
29+ annotations = [
30+ " index:org.opencontainers.image.title=Hive Gateway on Bun" ,
31+ " index:org.opencontainers.image.description=GraphQL Gateway by The Guild that can act as a Apollo Federation Gateway or a Proxy Gateway for any GraphQL service." ,
32+ " index:org.opencontainers.image.authors=The Guild" ,
33+ " index:org.opencontainers.image.licenses=MIT" ,
34+ " index:org.opencontainers.image.source=https://github.com/graphql-hive/gateway/tree/main/packages/gateway" ,
35+ " index:org.opencontainers.image.documentation=https://the-guild.dev/graphql/hive/docs/gateway/deployment/docker"
36+ ]
37+ }
38+
2439//
2540
2641group "e2e" {
27- targets = [" gateway_e2e" , " gateway_e2e_openapi-javascript-wiki" ]
42+ targets = [
43+ " gateway_e2e" ,
44+ " gateway_e2e_openapi-javascript-wiki" ,
45+ " gateway_e2e_operation-field-permissions"
46+ ]
2847}
2948
3049group "e2e_bun" {
31- targets = [" gateway_e2e_bun" , " gateway_e2e_openapi-javascript-wiki_bun" ]
50+ targets = [
51+ " gateway_e2e_bun" ,
52+ " gateway_e2e_openapi-javascript-wiki_bun" ,
53+ " gateway_e2e_operation-field-permissions_bun"
54+ ]
3255}
3356
3457target "gateway_e2e" {
3558 context = " packages/gateway"
3659 dockerfile = " node.Dockerfile"
3760 tags = [" ghcr.io/graphql-hive/gateway:e2e" ]
3861}
39-
4062target "gateway_e2e_bun" {
4163 context = " packages/gateway"
4264 dockerfile = " bun.Dockerfile"
4365 tags = [" ghcr.io/graphql-hive/gateway:e2e-bun" ]
4466}
67+
4568target "gateway_e2e_openapi-javascript-wiki" {
4669 context = " e2e/openapi-javascript-wiki"
4770 dockerfile = " gateway.Dockerfile"
@@ -50,7 +73,6 @@ target "gateway_e2e_openapi-javascript-wiki" {
5073 " gateway_e2e" : " target:gateway_e2e"
5174 }
5275}
53-
5476target "gateway_e2e_openapi-javascript-wiki_bun" {
5577 context = " e2e/openapi-javascript-wiki"
5678 dockerfile = " gateway_bun.Dockerfile"
@@ -60,17 +82,19 @@ target "gateway_e2e_openapi-javascript-wiki_bun" {
6082 }
6183}
6284
63- target "gateway_bun" {
64- context = " packages/gateway"
65- dockerfile = " bun.Dockerfile"
66- platforms = [" linux/amd64" , " linux/arm64" ]
67- tags = formatlist (" ghcr.io/graphql-hive/gateway:%s-bun" , split (" ," , GATEWAY_TAGS))
68- annotations = [
69- " index:org.opencontainers.image.title=Hive Gateway on Bun" ,
70- " index:org.opencontainers.image.description=GraphQL Gateway by The Guild that can act as a Apollo Federation Gateway or a Proxy Gateway for any GraphQL service." ,
71- " index:org.opencontainers.image.authors=The Guild" ,
72- " index:org.opencontainers.image.licenses=MIT" ,
73- " index:org.opencontainers.image.source=https://github.com/graphql-hive/gateway/tree/main/packages/gateway" ,
74- " index:org.opencontainers.image.documentation=https://the-guild.dev/graphql/hive/docs/gateway/deployment/docker"
75- ]
76- }
85+ target "gateway_e2e_operation-field-permissions" {
86+ context = " e2e/operation-field-permissions"
87+ dockerfile = " gateway.Dockerfile"
88+ tags = [" ghcr.io/graphql-hive/gateway:e2e.operation-field-permissions" ]
89+ contexts = {
90+ " gateway_e2e" : " target:gateway_e2e"
91+ }
92+ }
93+ target "gateway_e2e_operation-field-permissions_bun" {
94+ context = " e2e/operation-field-permissions"
95+ dockerfile = " gateway_bun.Dockerfile"
96+ tags = [" ghcr.io/graphql-hive/gateway:e2e.operation-field-permissions-bun" ]
97+ contexts = {
98+ " gateway_e2e_bun" : " target:gateway_e2e_bun"
99+ }
100+ }
0 commit comments