Skip to content

Commit c24577f

Browse files
committed
Update docker-buildx.build.hcl
1 parent 5ca57c8 commit c24577f

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

docker-buildx.build.hcl

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ target "osm-cgimap" {
5656
"${WS_DOCKER_REGISTRY}/workspaces-osm-cgimap:${ENV}",
5757
"${WS_DOCKER_REGISTRY}/workspaces-osm-cgimap:${CODE_VERSION}"
5858
]
59+
cache-to = [
60+
"type=gha"
61+
]
62+
cache-from = [
63+
"type=gha"
64+
]
5965
}
6066

6167
target "osm-log-proxy" {
@@ -65,6 +71,12 @@ target "osm-log-proxy" {
6571
"${WS_DOCKER_REGISTRY}/workspaces-osm-log-proxy:${ENV}",
6672
"${WS_DOCKER_REGISTRY}/workspaces-osm-log-proxy:${CODE_VERSION}"
6773
]
74+
cache-to = [
75+
"type=gha"
76+
]
77+
cache-from = [
78+
"type=gha"
79+
]
6880
}
6981

7082
target "osm-rails" {
@@ -74,6 +86,12 @@ target "osm-rails" {
7486
"${WS_DOCKER_REGISTRY}/workspaces-osm-rails:${ENV}",
7587
"${WS_DOCKER_REGISTRY}/workspaces-osm-rails:${CODE_VERSION}"
7688
]
89+
cache-to = [
90+
"type=gha"
91+
]
92+
cache-from = [
93+
"type=gha"
94+
]
7795
}
7896

7997
target "osm-web" {
@@ -83,6 +101,12 @@ target "osm-web" {
83101
"${WS_DOCKER_REGISTRY}/workspaces-osm-web:${ENV}",
84102
"${WS_DOCKER_REGISTRY}/workspaces-osm-web:${CODE_VERSION}"
85103
]
104+
cache-to = [
105+
"type=gha"
106+
]
107+
cache-from = [
108+
"type=gha"
109+
]
86110
}
87111

88112
target "pathways-editor" {
@@ -92,6 +116,12 @@ target "pathways-editor" {
92116
"${WS_DOCKER_REGISTRY}/workspaces-pathways-editor:${ENV}",
93117
"${WS_DOCKER_REGISTRY}/workspaces-pathways-editor:${CODE_VERSION}"
94118
]
119+
cache-to = [
120+
"type=gha"
121+
]
122+
cache-from = [
123+
"type=gha"
124+
]
95125
}
96126

97127
target "rapid" {
@@ -101,6 +131,12 @@ target "rapid" {
101131
"${WS_DOCKER_REGISTRY}/workspaces-rapid:${ENV}",
102132
"${WS_DOCKER_REGISTRY}/workspaces-rapid:${CODE_VERSION}"
103133
]
134+
cache-to = [
135+
"type=gha"
136+
]
137+
cache-from = [
138+
"type=gha"
139+
]
104140
}
105141

106142
target "tasks-backend" {
@@ -114,6 +150,12 @@ target "tasks-backend" {
114150
args = {
115151
APP_UID = "1000"
116152
}
153+
cache-to = [
154+
"type=gha"
155+
]
156+
cache-from = [
157+
"type=gha"
158+
]
117159
}
118160

119161
target "tasks-frontend" {
@@ -126,4 +168,10 @@ target "tasks-frontend" {
126168
args = {
127169
TM_APP_API_URL = "https://tasks.workspaces-${ENV}.sidewalks.washington.edu/"
128170
}
171+
cache-to = [
172+
"type=gha"
173+
]
174+
cache-from = [
175+
"type=gha"
176+
]
129177
}

0 commit comments

Comments
 (0)