Skip to content

Upload Container image #210

Upload Container image

Upload Container image #210

Workflow file for this run

name: Upload Container image
on:
schedule:
- cron: "0 8 * * *"
push:
branches:
- main
- release/*
tags:
- 'v*'
workflow_dispatch:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: false
env:
REGISTRY: ghcr.io
jobs:
base-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
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/base
- name: Build and push Docker images
uses: docker/build-push-action@v5
with:
context: .
file: al9/Dockerfile.minimal
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
lang-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-lang
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/base-lang
- name: Build and push Docker images
uses: docker/build-push-action@v5
with:
context: .
file: al9/Dockerfile.lang
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-lang.outputs.tags }}
labels: ${{ steps.meta-lang.outputs.labels }}
sle-lang-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-lang
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/bci-lang
- name: Build and push Docker images
uses: docker/build-push-action@v5
with:
context: .
file: sle/Dockerfile.lang
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-bci-lang.outputs.tags }}
labels: ${{ steps.meta-bci-lang.outputs.labels }}
sle-dotnet-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-dotnet
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/bci-dotnet
- name: Build and push Docker images
uses: docker/build-push-action@v5
with:
context: .
file: sle/Dockerfile.dotnet
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-bci-dotnet.outputs.tags }}
labels: ${{ steps.meta-bci-dotnet.outputs.labels }}
cdxgen-dotnet-image:
runs-on: ubuntu-latest
needs: sle-dotnet-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-dotnet
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/cdxgen-dotnet
ghcr.io/appthreat/cdxgen-dotnet6
- name: Build and push Docker images
uses: docker/build-push-action@v5
if: github.ref == 'refs/heads/main'
with:
context: .
file: cdxgen/Dockerfile.dotnet
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-dotnet:v10,ghcr.io/appthreat/cdxgen-dotnet6:v10
labels: ${{ steps.meta-cdxgen-dotnet.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.dotnet
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-cdxgen-dotnet.outputs.tags }}
labels: ${{ steps.meta-cdxgen-dotnet.outputs.labels }}
sle-dotnet7-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-dotnet7
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/bci-dotnet7
- name: Build and push Docker images
uses: docker/build-push-action@v5
with:
context: .
file: sle/Dockerfile.dotnet7
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-bci-dotnet7.outputs.tags }}
labels: ${{ steps.meta-bci-dotnet7.outputs.labels }}
cdxgen-dotnet7-image:
runs-on: ubuntu-latest
needs: sle-dotnet7-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-dotnet7
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/cdxgen-dotnet7
- name: Build and push Docker images
uses: docker/build-push-action@v5
if: github.ref == 'refs/heads/main'
with:
context: .
file: cdxgen/Dockerfile.dotnet7
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-dotnet7:v10
labels: ${{ steps.meta-cdxgen-dotnet7.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.dotnet7
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-cdxgen-dotnet7.outputs.tags }}
labels: ${{ steps.meta-cdxgen-dotnet7.outputs.labels }}
sle-dotnet8-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-dotnet8
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/bci-dotnet8
- name: Build and push Docker images
uses: docker/build-push-action@v5
with:
context: .
file: sle/Dockerfile.dotnet8
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-bci-dotnet8.outputs.tags }}
labels: ${{ steps.meta-bci-dotnet8.outputs.labels }}
cdxgen-dotnet8-image:
runs-on: ubuntu-latest
needs: sle-dotnet8-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-dotnet8
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/cdxgen-dotnet8
- name: Build and push Docker images
uses: docker/build-push-action@v5
if: github.ref == 'refs/heads/main'
with:
context: .
file: cdxgen/Dockerfile.dotnet8
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-dotnet8:v10
labels: ${{ steps.meta-cdxgen-dotnet8.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.dotnet8
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-cdxgen-dotnet8.outputs.tags }}
labels: ${{ steps.meta-cdxgen-dotnet8.outputs.labels }}
sle-java-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-java
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/bci-java
- name: Build and push Docker images
uses: docker/build-push-action@v5
with:
context: .
file: sle/Dockerfile.java
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-bci-java.outputs.tags }}
labels: ${{ steps.meta-bci-java.outputs.labels }}
cdxgen-java-image:
runs-on: ubuntu-latest
needs: sle-java-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-java
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/cdxgen-java
ghcr.io/appthreat/cdxgen-java11
- name: Build and push Docker images
uses: docker/build-push-action@v5
if: github.ref == 'refs/heads/main'
with:
context: .
file: cdxgen/Dockerfile.java
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-java:v10,ghcr.io/appthreat/cdxgen-java11:v10
labels: ${{ steps.meta-cdxgen-java.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.java
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-cdxgen-java.outputs.tags }}
labels: ${{ steps.meta-cdxgen-java.outputs.labels }}
sle-java17-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-java17
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/bci-java17
- name: Build and push Docker images
uses: docker/build-push-action@v5
with:
context: .
file: sle/Dockerfile.java17
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-bci-java17.outputs.tags }}
labels: ${{ steps.meta-bci-java17.outputs.labels }}
cdxgen-java17-image:
runs-on: ubuntu-latest
needs: sle-java17-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-java17
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/cdxgen-java17
- name: Build and push Docker images
uses: docker/build-push-action@v5
if: github.ref == 'refs/heads/main'
with:
context: .
file: cdxgen/Dockerfile.java17
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-java17:v10
labels: ${{ steps.meta-cdxgen-java17.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.java17
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-cdxgen-java17.outputs.tags }}
labels: ${{ steps.meta-cdxgen-java17.outputs.labels }}
cdxgen-python-image:
runs-on: ubuntu-latest
needs: sle-lang-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-python
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/cdxgen-python
ghcr.io/appthreat/cdxgen-python312
- name: Build and push Docker images
uses: docker/build-push-action@v5
if: github.ref == 'refs/heads/main'
with:
context: .
file: cdxgen/Dockerfile.python
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-python:v10,ghcr.io/appthreat/cdxgen-python312:v10
labels: ${{ steps.meta-cdxgen-python.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.python
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-cdxgen-python.outputs.tags }}
labels: ${{ steps.meta-cdxgen-python.outputs.labels }}
sle-python311-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-python311
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/bci-python311
- name: Build and push Docker images
uses: docker/build-push-action@v5
with:
context: .
file: sle/Dockerfile.python311
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-bci-python311.outputs.tags }}
labels: ${{ steps.meta-bci-python311.outputs.labels }}
cdxgen-python311-image:
runs-on: ubuntu-latest
needs: sle-python311-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-python311
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/cdxgen-python311
- name: Build and push Docker images
uses: docker/build-push-action@v5
if: github.ref == 'refs/heads/main'
with:
context: .
file: cdxgen/Dockerfile.python311
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-python311:v10
labels: ${{ steps.meta-cdxgen-python311.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.python311
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-cdxgen-python311.outputs.tags }}
labels: ${{ steps.meta-cdxgen-python311.outputs.labels }}
sle-python36-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-python36
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/bci-python36
- name: Build and push Docker images
uses: docker/build-push-action@v5
with:
context: .
file: sle/Dockerfile.python36
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-bci-python36.outputs.tags }}
labels: ${{ steps.meta-bci-python36.outputs.labels }}
cdxgen-python36-image:
runs-on: ubuntu-latest
needs: sle-python36-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-python36
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/cdxgen-python36
- name: Build and push Docker images
uses: docker/build-push-action@v5
if: github.ref == 'refs/heads/main'
with:
context: .
file: cdxgen/Dockerfile.python36
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-python36:v10
labels: ${{ steps.meta-cdxgen-python36.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.python36
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-cdxgen-python36.outputs.tags }}
labels: ${{ steps.meta-cdxgen-python36.outputs.labels }}
opensuse-lang-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-opensuse-lang
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/opensuse-lang
- name: Build and push Docker images
uses: docker/build-push-action@v5
with:
context: .
file: opensuse/Dockerfile.lang
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-opensuse-lang.outputs.tags }}
labels: ${{ steps.meta-opensuse-lang.outputs.labels }}
cdxgen-rolling-image:
runs-on: ubuntu-latest
needs: opensuse-lang-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-rolling
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/cdxgen-rolling
- name: Build and push Docker images
uses: docker/build-push-action@v5
if: github.ref == 'refs/heads/main'
with:
context: .
file: cdxgen/Dockerfile.rolling
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-rolling:v10
labels: ${{ steps.meta-cdxgen-rolling.outputs.labels }}
depscan-rolling-image:
runs-on: ubuntu-latest
needs: cdxgen-rolling-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-depscan-rolling
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/depscan-rolling
- name: Build and push Docker images
uses: docker/build-push-action@v5
if: github.ref == 'refs/heads/main'
with:
context: .
file: depscan/Dockerfile.rolling
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/depscan-rolling:v5
labels: ${{ steps.meta-depscan-rolling.outputs.labels }}
sle-llvm-image:
runs-on: [self-hosted, almalinux]
timeout-minutes: 3600
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build using podman
run: |
podman pull registry.suse.com/bci/rust:1.78
podman build -t ghcr.io/appthreat/bci-llvm -f sle/Dockerfile.llvm .
podman push ghcr.io/appthreat/bci-llvm
opensuse-python310-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-opensuse-python310
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/opensuse-python310
- name: Build and push Docker images
uses: docker/build-push-action@v5
with:
context: .
file: opensuse/Dockerfile.python310
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-opensuse-python310.outputs.tags }}
labels: ${{ steps.meta-opensuse-python310.outputs.labels }}
cdxgen-python310-image:
runs-on: ubuntu-latest
needs: opensuse-python310-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-python310
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/cdxgen-python310
- name: Build and push Docker images
uses: docker/build-push-action@v5
if: github.ref == 'refs/heads/main'
with:
context: .
file: cdxgen/Dockerfile.python310
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-python310:v10
labels: ${{ steps.meta-cdxgen-python310.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.python310
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-cdxgen-python310.outputs.tags }}
labels: ${{ steps.meta-cdxgen-python310.outputs.labels }}
opensuse-python39-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-opensuse-python39
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/opensuse-python39
- name: Build and push Docker images
uses: docker/build-push-action@v5
with:
context: .
file: opensuse/Dockerfile.python39
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-opensuse-python39.outputs.tags }}
labels: ${{ steps.meta-opensuse-python39.outputs.labels }}
cdxgen-python39-image:
runs-on: ubuntu-latest
needs: opensuse-python39-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-python39
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/appthreat/cdxgen-python39
- name: Build and push Docker images
uses: docker/build-push-action@v5
if: github.ref == 'refs/heads/main'
with:
context: .
file: cdxgen/Dockerfile.python39
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/appthreat/cdxgen-python39:v10
labels: ${{ steps.meta-cdxgen-python39.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.python39
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-cdxgen-python39.outputs.tags }}
labels: ${{ steps.meta-cdxgen-python39.outputs.labels }}