This commit is contained in:
@@ -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,12 @@ jobs:
|
||||
with:
|
||||
builder: multiplatform-builder
|
||||
context: "{{defaultContext}}:opencode"
|
||||
file: from-source.dockerfile
|
||||
ssh: default=/var/lib/gitea-runner/.ssh/id_ed25519
|
||||
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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user