Skip to content

Build Minimum Failing Image #7

Build Minimum Failing Image

Build Minimum Failing Image #7

name: Build Minimum Failing Image
on: workflow_dispatch
jobs:
build:
name: Build Image
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
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: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Build & Push Docker image
uses: docker/build-push-action@v5
with:
context: ./txpipe-min-failing
file: ./txpipe-min-failing/Dockerfile
push: true
tags: ghcr.io/lsstdesc/mpi4py-min-failing
cache-from: type=gha
cache-to: type=gha,mode=max