Skip to content

Add container-building Actions workflows #2

Add container-building Actions workflows

Add container-building Actions workflows #2

name: Build & Push Container Images
on:
push:
tags:
- v*
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build_and_push:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Install Apptainer
run: |
.github/scripts/install_apptainer.sh
- name: Check Apptainer installation
run: apptainer --version
- name: Build images
run: |
.github/scripts/build_container_images.sh
- name: Push images
run: |
.github/scripts/push_container_images.sh