4 Commits

Author SHA1 Message Date
iPromKnight
0ddfac57f7 Build on Tag Pushes. (#162)
* enable tag and pr builds

* Build on Tag Pushes
2024-03-25 20:27:37 +00:00
iPromKnight
9fbd750cd2 enable tag and pr builds (#161) 2024-03-25 20:24:14 +00:00
Knight Crawler
5fc2027cfa Option to manually trigger each workflow (#159)
Co-authored-by: purple_emily <purple_emily@protonmail.com>
2024-03-20 20:26:32 +00:00
purple_emily
2d39476c65 Push dev builds & ready to tag semver (#153) 2024-03-14 14:27:19 +00:00
8 changed files with 25 additions and 2 deletions

View File

@@ -70,8 +70,10 @@ jobs:
flavor: |
latest=auto
tags: |
type=edge,branch=master,commit=${{ github.sha }}
type=ref,event=tag
type=ref,event=pr
type=sha,commit=${{ github.sha }}
type=semver,pattern={{version}}
type=raw,value=latest,enable={{is_default_branch}}
- name: Build image for scanning
@@ -130,7 +132,7 @@ jobs:
sarif_file: 'trivy-results-os.sarif'
- name: Push Service Image to repo
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
# if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
uses: docker/build-push-action@v5
with:
context: ${{ needs.set-vars.outputs.CONTEXT }}

View File

@@ -4,6 +4,9 @@ on:
push:
paths:
- 'src/node/addon/**'
tags:
- 'v*.*.*'
workflow_dispatch:
jobs:
process:

View File

@@ -4,6 +4,9 @@ on:
push:
paths:
- 'src/node/consumer/**'
tags:
- 'v*.*.*'
workflow_dispatch:
jobs:
process:

View File

@@ -4,6 +4,9 @@ on:
push:
paths:
- 'src/node/addon-jackett/**'
tags:
- 'v*.*.*'
workflow_dispatch:
jobs:
process:

View File

@@ -4,6 +4,9 @@ on:
push:
paths:
- 'src/metadata/**'
tags:
- 'v*.*.*'
workflow_dispatch:
jobs:
process:

View File

@@ -4,6 +4,9 @@ on:
push:
paths:
- 'src/migrator/**'
tags:
- 'v*.*.*'
workflow_dispatch:
jobs:
process:

View File

@@ -4,6 +4,9 @@ on:
push:
paths:
- 'src/producer/**'
tags:
- 'v*.*.*'
workflow_dispatch:
jobs:
process:

View File

@@ -4,6 +4,9 @@ on:
push:
paths:
- 'src/tissue/**'
tags:
- 'v*.*.*'
workflow_dispatch:
jobs:
process: