build: add task dist, build the dashboard once, cache Go in image builds
`task dist` builds the binaries release.json names into dist/ with the compiler flags `build` uses, so after the gate has built bin/ it only links. `build` is now static (CGO_ENABLED=0), like what ships. `ui` runs once per task invocation: check built the dashboard, then build's dependency built it again under the Go steps that embed it. Both Dockerfiles compile with cache mounts for Go's module and build caches.
This commit is contained in:
1 parent
c3e64e5485
commit
b509397e8d
5 files changed
+49
-6
No files matched your search
@@ -1,6 +1,7 @@
|
||||
/archied
|
||||
/archie-agent
|
||||
/bin/
|
||||
/dist/
|
||||
.task/
|
||||
*.db
|
||||
.references/
|
||||
|
||||
Reference in new issue
Block a user