Add .gitea/workflows/build.yml
This commit is contained in:
18
.gitea/workflows/build.yml
Normal file
18
.gitea/workflows/build.yml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
name: Build
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: 192.168.31.100:3847
|
||||||
|
username: ${{ gitea.actor }}
|
||||||
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
- uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
tags: 192.168.31.100:3847/${{ gitea.repository }}:latest
|
||||||
Reference in New Issue
Block a user