revert opencode to version 1.x
CI / Build opencode docker images (push) Successful in 50s

This commit is contained in:
2026-09-22 21:06:57 +08:00
parent 75fff0e585
commit 86d2c817fc
2 changed files with 25 additions and 26 deletions
+21 -21
View File
@@ -17,25 +17,25 @@ jobs:
registry: gitea.woggioni.net
username: woggioni
password: ${{ secrets.PUBLISHER_TOKEN }}
# -
# name: Build and push opencode binary images
# uses: docker/build-push-action@v6
# with:
# builder: multiplatform-builder
# context: "{{defaultContext}}:opencode"
# ssh: default=/var/lib/gitea-runner/.ssh/id_ed25519
# target: release-bin
# build-args: |
# OPENCODE_VERSION=2.0.12
# BUN_VERSION=1.4.2
# platforms: |
# linux/amd64
# push: true
# pull: true
# tags: |
# "gitea.woggioni.net/woggioni/opencode:2.0.12-bin"
# "gitea.woggioni.net/woggioni/opencode:2.0.12"
# "gitea.woggioni.net/woggioni/opencode:latest"
-
name: Build and push opencode binary images
uses: docker/build-push-action@v6
with:
builder: multiplatform-builder
context: "{{defaultContext}}:opencode"
ssh: default=/var/lib/gitea-runner/.ssh/id_ed25519
target: release-bin
build-args: |
OPENCODE_VERSION=1.18.32
BUN_VERSION=1.4.2
platforms: |
linux/amd64
push: true
pull: true
tags: |
"gitea.woggioni.net/woggioni/opencode:1.18.32-bin"
"gitea.woggioni.net/woggioni/opencode:1.18.32"
"gitea.woggioni.net/woggioni/opencode:latest"
-
name: Build and push opencode build-from-source images
uses: docker/build-push-action@v6
@@ -45,11 +45,11 @@ jobs:
ssh: default=/var/lib/gitea-runner/.ssh/id_ed25519
target: release
build-args: |
OPENCODE_VERSION=2.0.12
OPENCODE_VERSION=1.18.32
BUN_VERSION=1.4.2
platforms: |
linux/amd64
push: true
pull: true
tags: |
"gitea.woggioni.net/woggioni/opencode:2.0.12-bfs"
"gitea.woggioni.net/woggioni/opencode:1.18.32-bfs"