ci: add Gitea Actions workflow
This commit is contained in:
parent
f9c82a3d5f
commit
750ffee50b
1 changed files with 27 additions and 0 deletions
27
.gitea/workflows/build.yaml
Normal file
27
.gitea/workflows/build.yaml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: build-and-push
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- high-performance
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build and push with Kaniko
|
||||
uses: aicoe-aioc/kaniko-action@v1
|
||||
with:
|
||||
registry: ${{ secrets.REGISTRY_HOSTPORT }}
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
repo: nxtgauge-ai-assistant
|
||||
tags: |
|
||||
${{ github.sha }}
|
||||
${{ github.ref_name }}-latest
|
||||
dockerfile: Dockerfile
|
||||
context: .
|
||||
Loading…
Add table
Reference in a new issue