added opencode image
All checks were successful
CI / Build opencode docker images (push) Successful in 12m59s
All checks were successful
CI / Build opencode docker images (push) Successful in 12m59s
This commit is contained in:
39
.gitea/workflows/build-opencode.yaml
Normal file
39
.gitea/workflows/build-opencode.yaml
Normal file
@@ -0,0 +1,39 @@
|
||||
|
||||
name: CI
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- 'cgit/*'
|
||||
- '.gitea/workflows/build-opencode.yaml'
|
||||
jobs:
|
||||
"Build opencode docker images":
|
||||
runs-on: woryzen
|
||||
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.1.26
|
||||
ALPINE_VERSION=3.23
|
||||
platforms: |
|
||||
linux/amd64
|
||||
linux/arm64
|
||||
push: true
|
||||
pull: true
|
||||
tags: |
|
||||
"gitea.woggioni.net/woggioni/opencode:1.1.26"
|
||||
"gitea.woggioni.net/woggioni/opencode:1.1.26-alpine3.23"
|
||||
"gitea.woggioni.net/woggioni/opencode:1.1.26-alpine"
|
||||
"gitea.woggioni.net/woggioni/opencode:latest"
|
||||
|
||||
Reference in New Issue
Block a user