Skip to content

Add GNU with kokkos dockerfile #25

Add GNU with kokkos dockerfile

Add GNU with kokkos dockerfile #25

Workflow file for this run

name: pressio-containers
on:
push:
branches:
- 'main'
pull_request:
types: [ opened, reopened, synchronize ]
paths:
- '.github/workflows/ci-docker.yml'
- 'docker_scripts/**'
schedule:
- cron: '0 5 * * FRI'
jobs:
CI:
strategy:
matrix:
config:
- {dockerfile: 'fedora-clang', compiler-version: '17', tag: 'latest'}
- {dockerfile: 'fedora-gnu', compiler-version: '13', tag: 'latest'}
# - {dockerfile: 'intel-oneapi', compiler-version: 'latest'}
- {dockerfile: 'ubuntu-clang', compiler-version: '14', tag: 'latest'}
- {dockerfile: 'ubuntu-gnu-trilinos', compiler-version: '11', tag: 'ef73d14'}
- {dockerfile: 'ubuntu-gnu-trilinos', compiler-version: '11', tag: '702aac5'}
- {dockerfile: 'ubuntu-gnu-trilinos', compiler-version: '11', tag: 'trilinos-release-14-4-0'}
- {dockerfile: 'ubuntu-gnu', compiler-version: '11', tag: 'latest'}
- {dockerfile: 'ubuntu-gnu-kokkos-cpu-openmp', compiler-version: '11', tag: 'latest'}
- {dockerfile: 'ubuntu-gnu-kokkos-cpu-serial', compiler-version: '11', tag: 'latest'}
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout out code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Github Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Docker images for Github Container Registry
uses: docker/build-push-action@v6
with:
tags: ghcr.io/pressio/${{ matrix.config.dockerfile }}-${{ matrix.config.compiler-version }}:${{ matrix.config.tag }}
file: docker_scripts/${{ matrix.config.dockerfile }}.dockerfile
build-args: |
COMPILER_VERSION=${{ matrix.config.compiler-version }}
DOCKER_TAG=${{ matrix.config.tag }}
push: true