Initial commit
This commit is contained in:
30
.gitea/workflows/docker_build.yaml
Normal file
30
.gitea/workflows/docker_build.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Build Docker images
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
tags: [ "*" ]
|
||||
|
||||
jobs:
|
||||
acls:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
-
|
||||
name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.24.3'
|
||||
|
||||
- uses: ko-build/setup-ko@v0.8
|
||||
env:
|
||||
KO_DOCKER_REPO: git.prettysunflower.moe/prettysunflower/youtubethumbnails
|
||||
- env:
|
||||
auth_token: ${{ secrets.HUB_TOKEN }}
|
||||
run: |
|
||||
echo "${auth_token}" | ko login git.prettysunflower.moe --username ${{ vars.HUB_USERNAME }} --password-stdin
|
||||
ko build
|
Reference in New Issue
Block a user