Skip to content

fix typo

fix typo #8

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'}
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: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/pressio-containers/${{ matrix.config.dockerfile }}-${{ matrix.config.compiler-version }}:${{ matrix.config.tag }}
- name: Build and Push Docker images for Github Container Registry
uses: docker/build-push-action@v4
with:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
file: docker_scripts/${{ matrix.config.dockerfile }}.dockerfile
build-args: |
COMPILER_VERSION=${{ matrix.config.compiler-version }}
DOCKER_TAG=${{ matrix.config.tag }}
pull: true
push: true