ci: simplify pipeline
All checks were successful
Build container / kali-build (push) Successful in 4m29s
All checks were successful
Build container / kali-build (push) Successful in 4m29s
This commit is contained in:
@@ -3,21 +3,17 @@ on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
paths:
|
||||
[
|
||||
"containers/fedora/**",
|
||||
"containers/go/**",
|
||||
"containers/infra/**",
|
||||
".gitea/workflows/kali.yaml",
|
||||
]
|
||||
- "containers/fedora/**"
|
||||
- "containers/go/**"
|
||||
- "containers/infra/**"
|
||||
- ".gitea/workflows/fedora.yaml"
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
paths:
|
||||
[
|
||||
"containers/fedora/**",
|
||||
"containers/go/**",
|
||||
"containers/infra/**",
|
||||
".gitea/workflows/kali.yaml",
|
||||
]
|
||||
- "containers/fedora/**"
|
||||
- "containers/go/**"
|
||||
- "containers/infra/**"
|
||||
- ".gitea/workflows/fedora.yaml"
|
||||
schedule:
|
||||
- cron: "0 16 * * FRI"
|
||||
|
||||
@@ -41,9 +37,8 @@ jobs:
|
||||
context: ./containers/fedora
|
||||
file: ./containers/fedora/Containerfile
|
||||
push: true
|
||||
tags: |
|
||||
git.plabble.org/job79/fedora:${{ github.ref_name }}
|
||||
git.plabble.org/job79/fedora:latest
|
||||
tags: git.plabble.org/job79/fedora:${{ github.ref_name }}
|
||||
build-args: TAG=${{ github.ref_name }}
|
||||
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
|
||||
- name: Build and push go container
|
||||
uses: docker/build-push-action@v5
|
||||
@@ -51,9 +46,8 @@ jobs:
|
||||
context: ./containers/go
|
||||
file: ./containers/go/Containerfile
|
||||
push: true
|
||||
tags: |
|
||||
git.plabble.org/job79/go:${{ github.ref_name }}
|
||||
git.plabble.org/job79/go:latest
|
||||
tags: git.plabble.org/job79/go:${{ github.ref_name }}
|
||||
build-args: TAG=${{ github.ref_name }}
|
||||
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
|
||||
- name: Build and push infra container
|
||||
uses: docker/build-push-action@v5
|
||||
@@ -61,7 +55,6 @@ jobs:
|
||||
context: ./containers/infra
|
||||
file: ./containers/infra/Containerfile
|
||||
push: true
|
||||
tags: |
|
||||
git.plabble.org/job79/infra:${{ github.ref_name }}
|
||||
git.plabble.org/job79/infra:latest
|
||||
tags: git.plabble.org/job79/infra:${{ github.ref_name }}
|
||||
build-args: TAG=${{ github.ref_name }}
|
||||
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
|
||||
|
||||
Reference in New Issue
Block a user