attempt build from source of opencode
CI / build-from-source (push) Failing after 8s

This commit is contained in:
2026-07-21 05:22:18 +08:00
parent 85be151eac
commit d595d13074
2 changed files with 56 additions and 6 deletions
+29 -6
View File
@@ -7,7 +7,32 @@ on:
- 'opencode/*'
- '.gitea/workflows/build-opencode.yaml'
jobs:
"Build opencode docker images":
# "Build opencode docker images":
# runs-on: hostinger
# steps:
# -
# name: Login to Gitea container registry
# uses: docker/login-action@v3
# with:
# registry: gitea.woggioni.net
# username: woggioni
# password: ${{ secrets.PUBLISHER_TOKEN }}
# -
# name: Build and push opencode images
# uses: docker/build-push-action@v6
# with:
# builder: multiplatform-builder
# context: "{{defaultContext}}:opencode"
# build-args: |
# OPENCODE_VERSION=1.18.4
# platforms: |
# linux/amd64
# push: true
# pull: true
# tags: |
# "gitea.woggioni.net/woggioni/opencode:1.18.4"
# "gitea.woggioni.net/woggioni/opencode:latest"
build-from-source:
runs-on: hostinger
steps:
-
@@ -23,13 +48,11 @@ jobs:
with:
builder: multiplatform-builder
context: "{{defaultContext}}:opencode"
file: "{{defaultContext}}:opencode/from_source.dockerfile"
build-args: |
OPENCODE_VERSION=1.18.4
VERSION=1.18.4
platforms: |
linux/amd64
push: true
push: false
pull: true
tags: |
"gitea.woggioni.net/woggioni/opencode:1.18.4"
"gitea.woggioni.net/woggioni/opencode:latest"