-
Notifications
You must be signed in to change notification settings - Fork 2
45 lines (38 loc) · 1.11 KB
/
workflow.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Workflow
on:
push:
branches: [ main ]
pull_request: { }
jobs:
validate-renovate-config:
uses: BlindfoldedSurgery/renovate-config/.github/workflows/validate.yml@main
lint:
uses: BlindfoldedSurgery/actions-python/.github/workflows/lint.yml@v2
with:
python-version: '3.13'
test:
uses: BlindfoldedSurgery/actions-python/.github/workflows/test.yml@v2
with:
python-version: '3.13'
build-container-image:
needs:
- lint
- test
uses: preparingforexams/actions-container/.github/workflows/build-image-kaniko.yml@v3
with:
runner-name-build: warp-ubuntu-latest-arm64-2x
push-image: ${{ github.ref_name == github.event.repository.default_branch }}
deploy:
runs-on: ubuntu-latest
if: github.ref_name == github.event.repository.default_branch
needs:
- build-container-image
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: git push origin main:release
clean:
concurrency: cleanup
needs: [ deploy ]
uses: BlindfoldedSurgery/actions-container/.github/workflows/clean.yml@v4