Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,10 @@ jobs:
with:
build_main: ${{ !contains(inputs.build_main == 'true', 'false') }}
release_tag: ${{ inputs.release_tag }}

epiphany:
uses: ./.github/workflows/epiphany.yml
secrets: inherit
with:
build_main: ${{ !contains(inputs.build_main == 'true', 'false') }}
release_tag: ${{ inputs.release_tag }}
111 changes: 111 additions & 0 deletions .github/workflows/epiphany.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
name: epiphany

on:
push:
branches: [ 'main' ]
paths: ['.github/workflows/epiphany.yml', 'epiphany/**']
pull_request:
branches: [ 'main' ]
paths: ['.github/workflows/epiphany.yml', 'epiphany/**']
workflow_call:
inputs:
build_main:
description: "Build using liboqs and oqsprovider main branches"
required: false
default: false
type: boolean
release_tag:
description: "Which docker tag to push to"
required: false
type: string
workflow_dispatch:
inputs:
build_main:
description: "Build using liboqs and oqsprovider main branches"
required: false
default: false
type: boolean
release_tag:
description: "Which docker tag to push to"
required: false
type: string

env:
build-args: |
LIBOQS_TAG=main
OQSPROVIDER_TAG=main
push: ${{ github.repository == 'open-quantum-safe/oqs-demos' && github.ref == 'refs/heads/main' && github.event_name != 'pull_request' && inputs.build_main != 'true' }}

jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- arch: x86_64
runner: ubuntu-latest
- arch: arm64
runner: ubuntu-24.04-arm
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
if: env.push == 'true'
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Determine architecture
id: arch
run: echo "arch=$(uname -m)" >> $GITHUB_OUTPUT

- name: Build the epiphany Docker image
uses: docker/build-push-action@v6
with:
load: true
context: epiphany
build-args: |
ARCH=${{ steps.arch.outputs.arch }}
${{ (inputs.build_main == 'true') && env.build-args || null }}
tags: oqs-epiphany

- name: Scan Docker Image
if: matrix.arch == 'x86_64' && env.push == 'true'
uses: docker/[email protected]
with:
image: oqs-epiphany
command: cves,recommendations
sarif-file: epiphany-scan-results.sarif

- name: Upload Scan Results
if: matrix.arch == 'x86_64' && env.push == 'true'
uses: actions/[email protected]
with:
name: epiphany-scan-results
path: epiphany-scan-results.sarif

- name: Push Docker image to registries
if: env.push == 'true'
uses: docker/build-push-action@v6
with:
push: true
context: epiphany
build-args: |
${{ (inputs.build_main == 'true') && env.build-args || null }}
tags: |
ghcr.io/${{ github.repository_owner }}/epiphany:${{ inputs.release_tag || 'latest' }}-${{ matrix.arch }}
openquantumsafe/epiphany:${{ inputs.release_tag || 'latest' }}-${{ matrix.arch }}

push:
if: ${{ github.repository == 'open-quantum-safe/oqs-demos' && github.ref == 'refs/heads/main' && github.event_name != 'pull_request' && inputs.build_main != 'true' }}
needs: build
uses: ./.github/workflows/push-manifest.yml
secrets: inherit
with:
image_name: epiphany
release_tag: ${{ inputs.release_tag || 'latest' }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Currently available integrations at their respective support level:
| **h2load** | [Github: oqs-demos/h2load](h2load) | [ Dockerhub: openquantumsafe/h2load](https://hub.docker.com/repository/docker/openquantumsafe/h2load) | [![h2load](https://github.com/open-quantum-safe/oqs-demos/actions/workflows/h2load.yml/badge.svg)](https://github.com/open-quantum-safe/oqs-demos/actions/workflows/h2load.yml) Unmaintained
| **HAproxy** | [Github: oqs-demos/haproxy](haproxy) | [Dockerhub: openquantumsafe/haproxy](https://hub.docker.com/repository/docker/openquantumsafe/haproxy) | [![haproxy](https://github.com/open-quantum-safe/oqs-demos/actions/workflows/haproxy.yml/badge.svg)](https://github.com/open-quantum-safe/oqs-demos/actions/workflows/haproxy.yml) Unmaintained
| **Mosquitto** | [Github: oqs-demos/mosquitto](mosquitto) | [Dockerhub: openquantumsafe/mosquitto](https://hub.docker.com/repository/docker/openquantumsafe/mosquitto) | [![mosquitto](https://github.com/open-quantum-safe/oqs-demos/actions/workflows/mosquitto.yml/badge.svg)](https://github.com/open-quantum-safe/oqs-demos/actions/workflows/mosquitto.yml) Unmaintained
| **Epiphany** | [Github: oqs-demos/epiphany](epiphany) | [Dockerhub: openquantumsafe/epiphany](https://hub.docker.com/repository/docker/openquantumsafe/epiphany) | Deprecated
| **Epiphany** | [Github: oqs-demos/epiphany](epiphany) | [Dockerhub: openquantumsafe/epiphany](https://hub.docker.com/repository/docker/openquantumsafe/epiphany) | [![epiphany](https://github.com/open-quantum-safe/oqs-demos/actions/workflows/epiphany.yml/badge.svg)](https://github.com/open-quantum-safe/oqs-demos/actions/workflows/epiphany.yml) Maintained: @davidkel
| **OpenLiteSpeed** | [Github: oqs-demos/openlitespeed](openlitespeed) | [ Dockerhub: openquantumsafe/openlitespeed](https://hub.docker.com/repository/docker/openquantumsafe/openlitespeed) | Deprecated
| **Envoy** | [Github: oqs-demos/envoy](envoy) | [ Dockerhub: openquantumsafe/envoy](https://hub.docker.com/repository/docker/openquantumsafe/envoy) | Deprecated
| **Unbound** | [Github: oqs-demos/unbound](unbound) | [ Dockerhub: openquantumsafe/unbound](https://hub.docker.com/repository/docker/openquantumsafe/unbound) | Deprecated
Expand Down
69 changes: 0 additions & 69 deletions deprecated/epiphany/Dockerfile

This file was deleted.

32 changes: 0 additions & 32 deletions deprecated/epiphany/README.md

This file was deleted.

18 changes: 0 additions & 18 deletions deprecated/epiphany/certlink.sh

This file was deleted.

25 changes: 0 additions & 25 deletions deprecated/epiphany/openssl-client.cnf

This file was deleted.

9 changes: 0 additions & 9 deletions deprecated/epiphany/startepiphany.sh

This file was deleted.

Loading