We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ae74aa commit 48acab4Copy full SHA for 48acab4
1 file changed
packages/opencode/script/publish.ts
@@ -65,10 +65,10 @@ const image = "ghcr.io/anomalyco/opencode"
65
const platforms = "linux/amd64,linux/arm64"
66
const tags = [`${image}:${version}`, `${image}:${Script.channel}`]
67
const tagFlags = tags.flatMap((t) => ["-t", t])
68
-await $`docker buildx build --platform ${platforms} ${tagFlags} --push .`
69
70
// registries
71
if (!Script.preview) {
+ await $`docker buildx build --platform ${platforms} ${tagFlags} --push .`
72
// Calculate SHA values
73
const arm64Sha = await $`sha256sum ./dist/opencode-linux-arm64.tar.gz | cut -d' ' -f1`.text().then((x) => x.trim())
74
const x64Sha = await $`sha256sum ./dist/opencode-linux-x64.tar.gz | cut -d' ' -f1`.text().then((x) => x.trim())
0 commit comments