bilibili/.gitea/workflows/build-push.yml
timerzz c00090712d
Some checks failed
Build image / build (push) Failing after 3s
feat 初始化
2024-07-01 17:22:31 +08:00

20 lines
609 B
YAML

name: Build image
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: https://git.timerzz.com:20443/timerzz/setup-go@v4
env:
HTTPS_PROXY: http://192.168.31.55:10809
with:
go-version: '1.22.x'
- uses: https://git.timerzz.com:20443/timerzz/checkout@v4
- uses: https://git.timerzz.com:20443/timerzz/setup-ko@v0.6
with:
version: v0.15.4
env:
KO_DOCKER_REPO: 192.168.31.55:5000/paas/bilibili
- run: ko build --bare ./subtitles
env:
KO_DOCKER_REPO: 192.168.31.55:5000/paas/bilibili