Skip to content

Commit

Permalink
Build Focal, Jammy, and Noble images in GitHub CI
Browse files Browse the repository at this point in the history
Signed-off-by: Spencer Wilson <spencer.wilson@uwaterloo.ca>
  • Loading branch information
SWilson4 committed Aug 23, 2024
1 parent 66cde1a commit 03f2a7a
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Build and push Docker images

on:
push:

jobs:
ubuntu-arm64:
strategy:
matrix:
distro:
- focal
- jammy
- latest
runs-on: oqs-arm64
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build arm64 tag
uses: docker/build-push-action@v6
with:
# push: true
build-args: ARCH=arm64
tags: openquantumsafe/ci-ubuntu-${{ matrix.distro }}:latest-arm64
context: ubuntu-${{ matrix.distro }}

ubuntu-x86_64:
needs: ubuntu-arm64
strategy:
matrix:
distro:
- focal
- jammy
- latest
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build and push x86_64 tag
uses: docker/build-push-action@v6
with:
# push: true
build-args: ARCH=x86_64
tags: openquantumsafe/ci-ubuntu-${{ matrix.distro }}:latest-x86_64
context: ubuntu-${{ matrix.distro }}

0 comments on commit 03f2a7a

Please sign in to comment.