-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
4,431 additions
and
3,512 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
* | ||
!app/ | ||
!requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,6 @@ indent_size = 4 | |
[Makefile] | ||
indent_size = 4 | ||
indent_style = tab | ||
|
||
[Dockerfile] | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,7 +94,8 @@ jobs: | |
- sast-semgrep | ||
runs-on: ubuntu-22.04 | ||
permissions: | ||
# Allow to write to GitHub Packages | ||
attestations: write | ||
id-token: write | ||
packages: write | ||
steps: | ||
- name: Checkout | ||
|
@@ -116,7 +117,7 @@ jobs: | |
with: | ||
version: v${{ env.BUILDX_VERSION }} | ||
|
||
- name: Login to registry - GitHub | ||
- name: Login to registry | ||
uses: docker/[email protected] | ||
with: | ||
registry: ${{ env.CONTAINER_REGISTRY_GHCR }} | ||
|
@@ -141,20 +142,29 @@ jobs: | |
org.opencontainers.image.vendor=${{ github.actor }} | ||
- name: Build/push container | ||
id: build | ||
uses: docker/[email protected] | ||
with: | ||
build-args: | | ||
VERSION=${{ needs.init.outputs.VERSION_FULL }} | ||
cache-from: type=gha | ||
cache-to: type=gha | ||
context: . | ||
file: cicd/Dockerfile | ||
labels: ${{ steps.meta.outputs.labels }} | ||
outputs: type=registry,oci-mediatypes=true,compression=estargz,compression-level=9,force-compression=true | ||
platforms: ${{ env.CONTAINER_PLATFORMS }} | ||
provenance: true | ||
push: true | ||
sbom: true | ||
tags: ${{ steps.meta.outputs.tags }} | ||
|
||
- name: Generate attestations | ||
uses: actions/[email protected] | ||
with: | ||
push-to-registry: true | ||
subject-digest: ${{ steps.build.outputs.digest }} | ||
subject-name: ${{ env.CONTAINER_REGISTRY_GHCR }}/${{ env.CONTAINER_NAME }} | ||
|
||
create-release: | ||
name: Create release | ||
needs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.