23 lines
490 B
YAML
23 lines
490 B
YAML
|
name: Test and build
|
||
|
run-name: ${{ gitea.actor }} testing and building
|
||
|
on:
|
||
|
push:
|
||
|
tags:
|
||
|
- '**'
|
||
|
|
||
|
env:
|
||
|
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
||
|
DOCKER_USERNAME: ${{ vars.DOCKER_USERNAME }}
|
||
|
RUNNER_API_KEY: ${{ secrets.RUNNER_API_KEY }}
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v4
|
||
|
with:
|
||
|
sparse-checkout: |
|
||
|
.gitea/deploy.sh
|
||
|
sparse-checkout-cone-mode: false
|
||
|
- run: .gitea/deploy.sh
|