This commit is contained in:
2023-07-22 19:37:46 +01:00
parent 74a3cd7754
commit b1f93c9fd8
65 changed files with 1115 additions and 1029 deletions

View File

@ -6,7 +6,7 @@ concurrency:
limit: 1
trigger:
branch:
- main
- main
metadata:
namespace: git
steps:
@ -34,9 +34,9 @@ steps:
- img build -t voidic/snort:latest --platform linux/amd64,linux/arm64 -f Dockerfile.prebuilt .
- img push voidic/snort:latest
volumes:
- name: cache
claim:
name: docker-cache
- name: cache
claim:
name: docker-cache
---
kind: pipeline
type: kubernetes
@ -60,9 +60,9 @@ steps:
- yarn workspace @snort/app eslint
- yarn workspace @snort/app prettier --check .
volumes:
- name: cache
claim:
name: docker-cache
- name: cache
claim:
name: docker-cache
---
kind: pipeline
type: kubernetes
@ -71,7 +71,7 @@ concurrency:
limit: 1
trigger:
branch:
- main
- main
metadata:
namespace: git
steps:
@ -98,9 +98,9 @@ steps:
- 'git commit -a -m "chore: Update translations"'
- git push -u origin main
volumes:
- name: cache
claim:
name: docker-cache
- name: cache
claim:
name: docker-cache
---
kind: pipeline
type: kubernetes
@ -109,7 +109,7 @@ concurrency:
limit: 1
trigger:
event:
- tag
- tag
metadata:
namespace: git
steps:
@ -137,6 +137,6 @@ steps:
- img build -t voidic/snort:$DRONE_TAG --platform linux/amd64,linux/arm64 -f Dockerfile.prebuilt .
- img push voidic/snort:$DRONE_TAG
volumes:
- name: cache
claim:
name: docker-cache
- name: cache
claim:
name: docker-cache