Some checks failed
CI / Build opencode docker images (push) Has been cancelled
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
|
|
name: CI
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
paths:
|
|
- 'cgit/*'
|
|
- '.gitea/workflows/build-opencode.yaml'
|
|
jobs:
|
|
"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.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"
|
|
|