ci: add Gitea Actions workflow
This commit is contained in:
parent
04e26abb07
commit
0a1543fb3f
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-frontend-solid
|
||||||
|
tags: |
|
||||||
|
${{ github.sha }}
|
||||||
|
${{ github.ref_name }}-latest
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
context: .
|
||||||
Loading…
Add table
Reference in a new issue