diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..88f3ef1 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -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-admin-solid + tags: | + ${{ github.sha }} + ${{ github.ref_name }}-latest + dockerfile: Dockerfile + context: .