Skip to content

Commit

Permalink
dotnet 9
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
  • Loading branch information
prabhu committed Nov 15, 2024
1 parent 5925fd4 commit 6f4da5d
Show file tree
Hide file tree
Showing 24 changed files with 187 additions and 65 deletions.
122 changes: 104 additions & 18 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ jobs:
file: cdxgen/Dockerfile.dotnet6
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-dotnet:v10,ghcr.io/appthreat/cdxgen-dotnet6:v10
tags: ghcr.io/appthreat/cdxgen-dotnet:v11,ghcr.io/appthreat/cdxgen-dotnet6:v11
labels: ${{ steps.meta-cdxgen-dotnet.outputs.labels }}

- name: Build and push Docker images
Expand Down Expand Up @@ -290,7 +290,7 @@ jobs:
file: cdxgen/Dockerfile.dotnet7
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-dotnet7:v10
tags: ghcr.io/appthreat/cdxgen-dotnet7:v11
labels: ${{ steps.meta-cdxgen-dotnet7.outputs.labels }}

- name: Build and push Docker images
Expand Down Expand Up @@ -376,7 +376,7 @@ jobs:
file: cdxgen/Dockerfile.dotnet8
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-dotnet8:v10
tags: ghcr.io/appthreat/cdxgen-dotnet8:v11
labels: ${{ steps.meta-cdxgen-dotnet8.outputs.labels }}

- name: Build and push Docker images
Expand All @@ -390,6 +390,92 @@ jobs:
tags: ${{ steps.meta-cdxgen-dotnet8.outputs.tags }}
labels: ${{ steps.meta-cdxgen-dotnet8.outputs.labels }}

sle-dotnet9-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta-bci-dotnet9
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/bci-dotnet9
- name: Build and push Docker images
uses: docker/build-push-action@v5
with:
context: .
file: sle/Dockerfile.dotnet9
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-bci-dotnet9.outputs.tags }}
labels: ${{ steps.meta-bci-dotnet9.outputs.labels }}

cdxgen-dotnet9-image:
runs-on: ubuntu-latest
needs: sle-dotnet9-image
permissions:
packages: write
steps:
- uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta-cdxgen-dotnet9
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/cdxgen-dotnet9
- name: Build and push Docker images
uses: docker/build-push-action@v5
if: github.ref == 'refs/heads/main'
with:
context: .
file: cdxgen/Dockerfile.dotnet9
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-dotnet9:v11
labels: ${{ steps.meta-cdxgen-dotnet9.outputs.labels }}

- name: Build and push Docker images
uses: docker/build-push-action@v5
if: startsWith(github.ref, 'refs/tags/')
with:
context: .
file: cdxgen/Dockerfile.dotnet9
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-cdxgen-dotnet9.outputs.tags }}
labels: ${{ steps.meta-cdxgen-dotnet9.outputs.labels }}

sle-java-image:
runs-on: ubuntu-latest
permissions:
Expand Down Expand Up @@ -500,7 +586,7 @@ jobs:
file: cdxgen/Dockerfile.java
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-java:v10,ghcr.io/appthreat/cdxgen-java11:v10
tags: ghcr.io/appthreat/cdxgen-java:v11,ghcr.io/appthreat/cdxgen-java11:v11
labels: ${{ steps.meta-cdxgen-java.outputs.labels }}

- name: Build and push Docker images
Expand Down Expand Up @@ -550,7 +636,7 @@ jobs:
file: cdxgen/Dockerfile.java-slim
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-java-slim:v10,ghcr.io/appthreat/cdxgen-java11-slim:v10
tags: ghcr.io/appthreat/cdxgen-java-slim:v11,ghcr.io/appthreat/cdxgen-java11-slim:v11
labels: ${{ steps.meta-cdxgen-java-slim.outputs.labels }}

- name: Build and push Docker images
Expand Down Expand Up @@ -637,7 +723,7 @@ jobs:
file: cdxgen/Dockerfile.node20
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-node:v10,ghcr.io/appthreat/cdxgen-node20:v10
tags: ghcr.io/appthreat/cdxgen-node:v11,ghcr.io/appthreat/cdxgen-node20:v11
labels: ${{ steps.meta-cdxgen-node20.outputs.labels }}

- name: Build and push Docker images
Expand Down Expand Up @@ -760,7 +846,7 @@ jobs:
file: cdxgen/Dockerfile.java17
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-java17:v10
tags: ghcr.io/appthreat/cdxgen-java17:v11
labels: ${{ steps.meta-cdxgen-java17.outputs.labels }}

- name: Build and push Docker images
Expand Down Expand Up @@ -809,7 +895,7 @@ jobs:
file: cdxgen/Dockerfile.java17-slim
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-java17-slim:v10
tags: ghcr.io/appthreat/cdxgen-java17-slim:v11
labels: ${{ steps.meta-cdxgen-java17-slim.outputs.labels }}

- name: Build and push Docker images
Expand Down Expand Up @@ -859,7 +945,7 @@ jobs:
file: cdxgen/Dockerfile.python
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-python:v10,ghcr.io/appthreat/cdxgen-python312:v10
tags: ghcr.io/appthreat/cdxgen-python:v11,ghcr.io/appthreat/cdxgen-python312:v11
labels: ${{ steps.meta-cdxgen-python.outputs.labels }}

- name: Build and push Docker images
Expand Down Expand Up @@ -945,7 +1031,7 @@ jobs:
file: cdxgen/Dockerfile.python311
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-python311:v10
tags: ghcr.io/appthreat/cdxgen-python311:v11
labels: ${{ steps.meta-cdxgen-python311.outputs.labels }}

- name: Build and push Docker images
Expand Down Expand Up @@ -1100,7 +1186,7 @@ jobs:
file: cdxgen/Dockerfile.python36
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-python36:v10
tags: ghcr.io/appthreat/cdxgen-python36:v11
labels: ${{ steps.meta-cdxgen-python36.outputs.labels }}

- name: Build and push Docker images
Expand Down Expand Up @@ -1186,7 +1272,7 @@ jobs:
file: cdxgen/Dockerfile.deno
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-deno:v10
tags: ghcr.io/appthreat/cdxgen-deno:v11
labels: ${{ steps.meta-cdxgen-deno.outputs.labels }}

- name: Build and push Docker images
Expand Down Expand Up @@ -1273,7 +1359,7 @@ jobs:
file: cdxgen/Dockerfile.php82
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-php:v10,ghcr.io/appthreat/cdxgen-php82:v10
tags: ghcr.io/appthreat/cdxgen-php:v11,ghcr.io/appthreat/cdxgen-php82:v11
labels: ${{ steps.meta-cdxgen-php.outputs.labels }}

- name: Build and push Docker images
Expand Down Expand Up @@ -1359,7 +1445,7 @@ jobs:
file: cdxgen/Dockerfile.rolling
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-rolling:v10
tags: ghcr.io/appthreat/cdxgen-rolling:v11
labels: ${{ steps.meta-cdxgen-rolling.outputs.labels }}

depscan-rolling-image:
Expand Down Expand Up @@ -1492,7 +1578,7 @@ jobs:
file: cdxgen/Dockerfile.python310
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-python310:v10
tags: ghcr.io/appthreat/cdxgen-python310:v11
labels: ${{ steps.meta-cdxgen-python310.outputs.labels }}

- name: Build and push Docker images
Expand Down Expand Up @@ -1578,7 +1664,7 @@ jobs:
file: cdxgen/Dockerfile.python39
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-python39:v10
tags: ghcr.io/appthreat/cdxgen-python39:v11
labels: ${{ steps.meta-cdxgen-python39.outputs.labels }}

- name: Build and push Docker images
Expand Down Expand Up @@ -1664,7 +1750,7 @@ jobs:
file: cdxgen/Dockerfile.python313
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-python313:v10
tags: ghcr.io/appthreat/cdxgen-python313:v11
labels: ${{ steps.meta-cdxgen-python313.outputs.labels }}

- name: Build and push Docker images
Expand Down Expand Up @@ -1750,7 +1836,7 @@ jobs:
file: cdxgen/Dockerfile.python313-nogil
platforms: linux/amd64
push: true
tags: ghcr.io/appthreat/cdxgen-python313-nogil:v10
tags: ghcr.io/appthreat/cdxgen-python313-nogil:v11
labels: ${{ steps.meta-cdxgen-python313-nogil.outputs.labels }}

- name: Build and push Docker images
Expand Down
Loading

0 comments on commit 6f4da5d

Please sign in to comment.