Add .gitea/workflows/detect.yml
This commit is contained in:
25
.gitea/workflows/detect.yml
Normal file
25
.gitea/workflows/detect.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
name: Detection
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
pull_request:
|
||||
branches:
|
||||
- "main"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: k8s-runner-00
|
||||
env:
|
||||
REGISTRY: registry.staging
|
||||
IMAGE_NAME: ${{ gitea.repository }}
|
||||
IMAGE_TAG: ${{ gitea.sha }}
|
||||
steps:
|
||||
- name: "Checkout repository"
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: "Files Root Project"
|
||||
run: |
|
||||
find . -type f | sed 's|^\./||' | jq -R . | jq -s .
|
||||
|
||||
Reference in New Issue
Block a user